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

r13220:1508cd7b8bf9
r15119:53710d80fc88
Show More
_users.html.erb
22 lines | 709 B | text/plain | TextLexer
Jean-Philippe Lang
Moved new group user to its own action GroupsController#new_users....
r13220 <p><%= link_to l(:label_user_new), new_group_users_path(@group), :remote => true, :class => "icon icon-add" %></p>
Jean-Philippe Lang
User groups branch merged....
r2755 <% if @group.users.any? %>
Toshi MARUYAMA
replace tabs to spaces at app/views/groups/_users.html.erb...
r7157 <table class="list users">
<thead><tr>
<th><%= l(:label_user) %></th>
<th style="width:15%"></th>
</tr></thead>
<tbody>
<% @group.users.sort.each do |user| %>
<tr id="user-<%= user.id %>" class="<%= cycle 'odd', 'even' %>">
Jean-Philippe Lang
Fixed alignments....
r12617 <td class="name"><%= link_to_user user %></td>
Toshi MARUYAMA
replace tabs to spaces at app/views/groups/_users.html.erb...
r7157 <td class="buttons">
Jean-Philippe Lang
Removes calls to link_to_remote....
r9847 <%= delete_link group_user_path(@group, :user_id => user), :remote => true %>
Toshi MARUYAMA
replace tabs to spaces at app/views/groups/_users.html.erb...
r7157 </td>
</tr>
<% end %>
</tbody>
</table>
Jean-Philippe Lang
User groups branch merged....
r2755 <% else %>
Toshi MARUYAMA
replace tabs to spaces at app/views/groups/_users.html.erb...
r7157 <p class="nodata"><%= l(:label_no_data) %></p>
Jean-Philippe Lang
User groups branch merged....
r2755 <% end %>