Project

General

Profile

Patch #24776 » 0001-Move-New-enumeration-links-to-above-the-item-tables.patch

Mischa The Evil, 2017-01-10 07:30

View differences:

app/views/enumerations/index.html.erb
<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>
......
</table>
<% reset_cycle %>
<% end %>
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
<% end %>
<% html_title(l(:label_enumerations)) -%>
(7-7/10)