From 860ae0631ad5514a08db6ac980c1b0ff3bbb170a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 6 May 2016 16:56:38 +0000 Subject: [PATCH] Adds edit links on the roadmap (#22756). git-svn-id: http://svn.redmine.org/redmine/trunk@15370 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/versions/index.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 53b70b0c7..0f1d0b842 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -11,6 +11,11 @@
<% @versions.each do |version| %>
+ <% if User.current.allowed_to?(:manage_versions, version.project) %> +
+ <%= link_to l(:button_edit), edit_version_path(version), :title => l(:button_edit), :class => 'icon-only icon-edit' %> +
+ <% end %>

<%= link_to_version version, :name => version_anchor(version) %>