##// END OF EJS Templates
Rails4: replace deprecated Relation#count with finder options at UsersHelper#users_status_options_for_select...
Rails4: replace deprecated Relation#count with finder options at UsersHelper#users_status_options_for_select git-svn-id: http://svn.redmine.org/redmine/trunk@12612 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12038:967564cba0bd
r12337:fa544d99345f
Show More
index.html.erb
32 lines | 1.1 KiB | text/plain | TextLexer
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_enumerations)%></h2>
Jean-Philippe Lang
Added position on Enumeration model....
r789
Eric Davis
Changed Enumerations to use a Single Table Inheritance...
r2677 <% Enumeration.get_subclasses.each do |klass| %>
<h3><%= l(klass::OptionName) %></h3>
Jean-Philippe Lang
Added position on Enumeration model....
r789
Jean-Philippe Lang
Changes misleading scopes on Enumeration....
r2969 <% enumerations = klass.shared %>
Jean-Philippe Lang
Added position on Enumeration model....
r789 <% if enumerations.any? %>
Jean-Philippe Lang
Adds missing thead tags (#5440)....
r3620 <table class="list"><thead>
Eric Davis
Added an active field track if an Enumeration is active on the frontend view....
r2832 <tr>
<th><%= l(:field_name) %></th>
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <th><%= l(:field_is_default) %></th>
<th><%= l(:field_active) %></th>
<th><%=l(:button_sort)%></th>
<th></th>
Jean-Philippe Lang
Adds missing thead tags (#5440)....
r3620 </tr></thead>
Jean-Philippe Lang
Added position on Enumeration model....
r789 <% enumerations.each do |enumeration| %>
<tr class="<%= cycle('odd', 'even') %>">
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td class="name"><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td>
<td class="tick"><%= checked_image enumeration.is_default? %></td>
<td class="tick"><%= checked_image enumeration.active? %></td>
Jean-Philippe Lang
Adds a CSS class for reorder links (#15307)....
r12035 <td class="reorder"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td class="buttons"><%= delete_link enumeration_path(enumeration) %></td>
Jean-Philippe Lang
Added position on Enumeration model....
r789 </tr>
<% end %>
</table>
<% reset_cycle %>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Resourcified enumerations....
r8069 <p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
Jean-Philippe Lang
Added position on Enumeration model....
r789 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_enumerations)) -%>