##// END OF EJS Templates
Replaces find(:first/:all) calls....
Replaces find(:first/:all) calls. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10931 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9754:7b40767428ac
r10704:ea296a109a86
Show More
index.html.erb
34 lines | 1.2 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>
<th style="width:15%;"><%= l(:field_is_default) %></th>
<th style="width:15%;"><%= l(:field_active) %></th>
<th style="width:15%;"></th>
<th align="center" style="width:10%;"> </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
Resourcified enumerations....
r8069 <td><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td>
Jean-Philippe Lang
Adds an helper for displaying the 'checked' image....
r3486 <td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td>
<td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td>
Jean-Philippe Lang
Resourcified enumerations....
r8069 <td style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
Jean-Philippe Lang
Makes 'delete links' the same on admin views....
r2758 <td class="buttons">
Jean-Philippe Lang
Deprecated :confirm => 'Text' option....
r9754 <%= delete_link enumeration_path(enumeration) %>
Jean-Philippe Lang
Ability to remove enumerations (activities, priorities, document categories) that are in use. Associated objects can be reassigned to another value (#1467)....
r1544 </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)) -%>