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
4 4
<h3><%= l(klass::OptionName) %></h3>
5 5

  
6 6
<% enumerations = klass.shared %>
7

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

  
7 10
<% if enumerations.any? %>
8 11
<table class="list enumerations"><thead>
9 12
<tr>
......
26 29
</table>
27 30
<% reset_cycle %>
28 31
<% end %>
29

  
30
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
31 32
<% end %>
32 33

  
33 34
<% html_title(l(:label_enumerations)) -%>
(7-7/10)