diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 53b70b0..0f1d0b8 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) %>