##// END OF EJS Templates
Reverting commit r1748. Some environments are not allowing the cached file to...
Reverting commit r1748. Some environments are not allowing the cached file to write to public, causing all JavaScript to fail. Javascripts are now cached into a single file for downloads in production mode. #1186 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1544:3c95f761e610
r1770:8f3a04ce6906
Show More
list.rhtml
31 lines | 1.7 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_enumerations)%></h2>
Jean-Philippe Lang
Added position on Enumeration model....
r789
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 <% Enumeration::OPTIONS.each do |option, params| %>
<h3><%= l(params[:label]) %></h3>
Jean-Philippe Lang
Added position on Enumeration model....
r789
<% enumerations = Enumeration.get_values(option) %>
<% if enumerations.any? %>
<table class="list">
<% enumerations.each do |enumeration| %>
<tr class="<%= cycle('odd', 'even') %>">
Jean-Philippe Lang
Removes constraint on enumerations name (#1384)....
r1489 <td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td>
Jean-Philippe Lang
Added default value for enumerations....
r792 <td style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td>
Jean-Philippe Lang
Added position on Enumeration model....
r789 <td style="width:15%;">
<%= link_to image_tag('2uparrow.png', :alt => l(:label_sort_highest)), {:action => 'move', :id => enumeration, :position => 'highest'}, :method => :post, :title => l(:label_sort_highest) %>
<%= link_to image_tag('1uparrow.png', :alt => l(:label_sort_higher)), {:action => 'move', :id => enumeration, :position => 'higher'}, :method => :post, :title => l(:label_sort_higher) %> -
<%= link_to image_tag('1downarrow.png', :alt => l(:label_sort_lower)), {:action => 'move', :id => enumeration, :position => 'lower'}, :method => :post, :title => l(:label_sort_lower) %>
<%= link_to image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), {:action => 'move', :id => enumeration, :position => 'lowest'}, :method => :post, :title => l(:label_sort_lowest) %>
</td>
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 align="center" style="width:10%;">
<%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration }, :method => :post, :confirm => l(:text_are_you_sure), :class => "icon icon-del" %>
</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
Added position on Enumeration model....
r789 <p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
<% 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)) -%>