fixed delete icon for versions in project settings

pull/6827/head
Christian Ratz 11 years ago
parent 1b6ae4b6e2
commit 23e96e35b8
  1. 2
      app/views/projects/settings/_versions.html.erb

@ -69,7 +69,7 @@ See doc/COPYRIGHT.rdoc for more details.
{ :controller => '/versions', :action => 'destroy', :id => version },
:confirm => l(:text_are_you_sure),
:method => :delete,
:class => 'icon icon-del' %>
:class => 'icon icon-delete' %>
<% elsif @project.enabled_modules.collect(&:name).include?("backlogs") %>
<%= link_to_if_authorized l(:button_edit),
{ :controller => '/versions', :action => 'edit', :id => version, :project_id => @project.id },

Loading…
Cancel
Save