Patch #25853 » move_left_bottom_links_from_project_settings_above.patch
| app/views/projects/settings/_activities.html.erb | ||
|---|---|---|
| 1 |
<div class="contextual"> |
|
| 2 |
<%= link_to(l(:button_reset), project_enumerations_path(@project), |
|
| 3 |
:method => :delete, |
|
| 4 |
:data => {:confirm => l(:text_are_you_sure)},
|
|
| 5 |
:class => 'icon icon-del') %> |
|
| 6 |
</div> |
|
| 7 | ||
| 1 | 8 |
<%= form_tag(project_enumerations_path(@project), :method => :put, :class => "tabular") do %> |
| 2 | 9 | |
| 3 | 10 |
<table class="list"> |
| ... | ... | |
| 31 | 38 |
<% end %> |
| 32 | 39 |
</table> |
| 33 | 40 | |
| 34 |
<div class="contextual"> |
|
| 35 |
<%= link_to(l(:button_reset), project_enumerations_path(@project), |
|
| 36 |
:method => :delete, |
|
| 37 |
:data => {:confirm => l(:text_are_you_sure)},
|
|
| 38 |
:class => 'icon icon-del') %> |
|
| 39 |
</div> |
|
| 40 | ||
| 41 | 41 |
<%= submit_tag l(:button_save) %> |
| 42 | 42 |
<% end %> |
| app/views/projects/settings/_versions.html.erb | ||
|---|---|---|
| 1 |
<p><%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p> |
|
| 1 |
<% if @versions.any? %> |
|
| 2 |
<div class="contextual"> |
|
| 3 |
<%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :class => 'icon icon-locked', :method => :put %> |
|
| 4 |
</div> |
|
| 5 |
<% end %> |
|
| 6 |
<p> |
|
| 7 |
<%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %> |
|
| 8 |
</p> |
|
| 2 | 9 | |
| 3 | 10 |
<%= form_tag(settings_project_path(@project, :tab => 'versions'), :method => :get) do %> |
| 4 | 11 |
<fieldset><legend><%= l(:label_filter_plural) %></legend> |
| ... | ... | |
| 45 | 52 |
<% else %> |
| 46 | 53 |
<p class="nodata"><%= l(:label_no_data) %></p> |
| 47 | 54 |
<% end %> |
| 48 | ||
| 49 |
<div class="contextual"> |
|
| 50 |
<% if @versions.any? %> |
|
| 51 |
<%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %> |
|
| 52 |
<% end %> |
|
| 53 |
</div> |
|
| app/views/projects/settings/_wiki.html.erb | ||
|---|---|---|
| 1 |
<% if @wiki && !@wiki.new_record? %> |
|
| 2 |
<div class="contextual"> |
|
| 3 |
<%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project},
|
|
| 4 |
:class => 'icon icon-del') %> |
|
| 5 |
</div> |
|
| 6 |
<p> </p> |
|
| 7 |
<% end %> |
|
| 8 | ||
| 1 | 9 |
<%= labelled_form_for @wiki, |
| 2 | 10 |
:as => :wiki, |
| 3 | 11 |
:url => { :controller => 'wikis', :action => 'edit', :id => @project },
|
| ... | ... | |
| 10 | 18 |
<em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p> |
| 11 | 19 |
</div> |
| 12 | 20 | |
| 13 |
<div class="contextual"> |
|
| 14 |
<%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project},
|
|
| 15 |
:class => 'icon icon-del') if @wiki && !@wiki.new_record? %> |
|
| 16 |
</div> |
|
| 17 | ||
| 18 | 21 |
<%= submit_tag((@wiki.nil? || @wiki.new_record?) ? l(:button_create) : l(:button_save)) %> |
| 19 | 22 |
<% end %> |