diff options
author | Go MAEDA <maeda@farend.jp> | 2018-09-20 22:30:57 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-09-20 22:30:57 +0000 |
commit | d84837e6f650867f32ebd7ea30626ec593828248 (patch) | |
tree | 1d8fa2fe163c35d4db4b4e246eddae07cc5d8a86 /app/views/projects/settings/_versions.html.erb | |
parent | 0d29d3208d865e969af8cb268178f3d186d77551 (diff) | |
download | redmine-d84837e6f650867f32ebd7ea30626ec593828248.tar.gz redmine-d84837e6f650867f32ebd7ea30626ec593828248.zip |
Move left bottom links from project settings above (#25853).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17497 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/settings/_versions.html.erb')
-rw-r--r-- | app/views/projects/settings/_versions.html.erb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/projects/settings/_versions.html.erb b/app/views/projects/settings/_versions.html.erb index 4651b405d..388c6ae0a 100644 --- a/app/views/projects/settings/_versions.html.erb +++ b/app/views/projects/settings/_versions.html.erb @@ -1,4 +1,11 @@ -<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> +<% if @versions.any? %> + <div class="contextual"> + <%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :class => 'icon icon-locked', :method => :put %> + </div> +<% end %> +<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> <%= form_tag(settings_project_path(@project, :tab => 'versions'), :method => :get) do %> <fieldset><legend><%= l(:label_filter_plural) %></legend> @@ -47,9 +54,3 @@ <% else %> <p class="nodata"><%= l(:label_no_data) %></p> <% end %> - -<div class="contextual"> -<% if @versions.any? %> - <%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %> -<% end %> -</div> |