##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14954:42b5c332b2c2
r15119:53710d80fc88
Show More
index.html.erb
36 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
Lists can be reordered with drag and drop (#12909)....
r14954 <table class="list enumerations"><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></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 unneeded #h calls in views....
r13661 <td class="name"><%= link_to enumeration, edit_enumeration_path(enumeration) %></td>
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td class="tick"><%= checked_image enumeration.is_default? %></td>
<td class="tick"><%= checked_image enumeration.active? %></td>
Jean-Philippe Lang
Lists can be reordered with drag and drop (#12909)....
r14954 <td class="buttons">
<%= reorder_handle(enumeration, :url => enumeration_path(enumeration), :param => 'enumeration') %>
<%= 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)) -%>
Jean-Philippe Lang
Lists can be reordered with drag and drop (#12909)....
r14954
<%= javascript_tag do %>
$(function() { $("table.enumerations tbody").positionedItems(); });
<% end %>