From 7f3ce996c2c1340b9d037f02fe93bd1901203c93 2017-01-14 10:03:26 From: Jean-Philippe Lang Date: 2017-01-14 10:03:26 Subject: [PATCH] Move 'New enumeration' links to above the item tables (#24776). Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16186 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erb index 5f1d2ea..b832d5c 100644 --- a/app/views/enumerations/index.html.erb +++ b/app/views/enumerations/index.html.erb @@ -4,6 +4,9 @@

<%= l(klass::OptionName) %>

<% enumerations = klass.shared %> + +

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %>

+ <% if enumerations.any? %> @@ -26,8 +29,6 @@
<% reset_cycle %> <% end %> - -

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %>

<% end %> <% html_title(l(:label_enumerations)) -%>