scm: code clean up projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5626 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
69bb041c46
commit
ff77ecee86
|
@ -12,7 +12,13 @@
|
||||||
|
|
||||||
<div class="contextual">
|
<div class="contextual">
|
||||||
<% if @repository && !@repository.new_record? %>
|
<% if @repository && !@repository.new_record? %>
|
||||||
<%= link_to(l(:label_user_plural), {:controller => 'repositories', :action => 'committers', :id => @project}, :class => 'icon icon-user') %>
|
<%= link_to(l(:label_user_plural),
|
||||||
|
{
|
||||||
|
:controller => 'repositories',
|
||||||
|
:action => 'committers',
|
||||||
|
:id => @project
|
||||||
|
},
|
||||||
|
:class => 'icon icon-user') %>
|
||||||
<%= link_to(l(:button_delete), {:controller => 'repositories', :action => 'destroy', :id => @project},
|
<%= link_to(l(:button_delete), {:controller => 'repositories', :action => 'destroy', :id => @project},
|
||||||
:confirm => l(:text_are_you_sure),
|
:confirm => l(:text_are_you_sure),
|
||||||
:method => :post,
|
:method => :post,
|
||||||
|
@ -20,5 +26,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save), :disabled => @repository.nil?) %>
|
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save),
|
||||||
|
:disabled => @repository.nil?) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue