##// 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:

r13661:b778c51e9049
r15119:53710d80fc88
Show More
index.html.erb
25 lines | 808 B | text/plain | TextLexer
Jean-Philippe Lang
User groups branch merged....
r2755 <div class="contextual">
<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
</div>
Jean-Philippe Lang
Set titles on Groups pages (#14517)...
r11819 <%= title l(:label_group_plural) %>
Jean-Philippe Lang
User groups branch merged....
r2755 <% if @groups.any? %>
<table class="list groups">
<thead><tr>
<th><%=l(:label_group)%></th>
<th><%=l(:label_user_plural)%></th>
<th></th>
</tr></thead>
<tbody>
<% @groups.each do |group| %>
Jean-Philippe Lang
Adds buit-in groups to give specific permissions to anonymous and non members users per project (#17976)....
r13053 <tr id="group-<%= group.id %>" class="<%= cycle 'odd', 'even' %> <%= "builtin" if group.builtin? %>">
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td class="name"><%= link_to group, edit_group_path(group) %></td>
Jean-Philippe Lang
Adds buit-in groups to give specific permissions to anonymous and non members users per project (#17976)....
r13053 <td class="user_count"><%= (@user_count_by_group_id[group.id] || 0) unless group.builtin? %></td>
<td class="buttons"><%= delete_link group unless group.builtin? %></td>
Jean-Philippe Lang
User groups branch merged....
r2755 </tr>
<% end %>
Toshi MARUYAMA
Fixing HTML in groups index view...
r11383 </tbody>
Jean-Philippe Lang
User groups branch merged....
r2755 </table>
<% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>