Commit 8c4fff21 authored by jplang's avatar jplang

Move 'New enumeration' links to above the item tables (#24776).

Patch by Mischa The Evil.

git-svn-id: https://svn.redmine.org/redmine/trunk@16186 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2747eb40
......@@ -4,6 +4,9 @@
<h3><%= l(klass::OptionName) %></h3>
<% enumerations = klass.shared %>
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
<% if enumerations.any? %>
<table class="list enumerations"><thead>
<tr>
......@@ -26,8 +29,6 @@
</table>
<% reset_cycle %>
<% end %>
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
<% end %>
<% html_title(l(:label_enumerations)) -%>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment