Sha256: ed36ad3ee437e2d315f31e13f054a5b6c62fcb0291f461a5b8c1fc335e6a21de

Contents?: true

Size: 1.07 KB

Versions: 34

Compression:

Stored size: 1.07 KB

Contents

<h2><%=l(:label_enumerations)%></h2>

<% Enumeration.get_subclasses.each do |klass| %>
<h3><%= l(klass::OptionName) %></h3>

<% enumerations = klass.shared %>
<% if enumerations.any? %>
<table class="list"><thead>
<tr>
    <th><%= l(:field_name) %></th>
    <th><%= l(:field_is_default) %></th>
    <th><%= l(:field_active) %></th>
    <th><%=l(:button_sort)%></th>
    <th></th>
</tr></thead>
<% enumerations.each do |enumeration| %>
<tr class="<%= cycle('odd', 'even') %>">
    <td class="name"><%= link_to enumeration, edit_enumeration_path(enumeration) %></td>
    <td class="tick"><%= checked_image enumeration.is_default? %></td>
    <td class="tick"><%= checked_image enumeration.active? %></td>
    <td class="reorder"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
    <td class="buttons"><%= delete_link enumeration_path(enumeration) %></td>
</tr>
<% end %>
</table>
<% reset_cycle %>
<% end %>

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

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/enumerations/index.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/enumerations/index.html.erb