Mercurial > hg > soundsoftware-site
comparison .svn/pristine/a7/a731233f0d7292a719e7077c91a8ab7c210b5a2a.svn-base @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1296:038ba2d95de8 | 1464:261b3d9a4903 |
---|---|
1 <div class="contextual"> | |
2 <%= link_to l(:label_role_new), new_role_path, :class => 'icon icon-add' %> | |
3 <%= link_to l(:label_permissions_report), permissions_roles_path, :class => 'icon icon-summary' %> | |
4 </div> | |
5 | |
6 <h2><%=l(:label_role_plural)%></h2> | |
7 | |
8 <table class="list"> | |
9 <thead><tr> | |
10 <th><%=l(:label_role)%></th> | |
11 <th><%=l(:button_sort)%></th> | |
12 <th></th> | |
13 </tr></thead> | |
14 <tbody> | |
15 <% for role in @roles %> | |
16 <tr class="<%= cycle("odd", "even") %>"> | |
17 <td class="name"><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td> | |
18 <td class="reorder"> | |
19 <% unless role.builtin? %> | |
20 <%= reorder_links('role', {:action => 'update', :id => role}, :put) %> | |
21 <% end %> | |
22 </td> | |
23 <td class="buttons"> | |
24 <%= link_to l(:button_copy), new_role_path(:copy => role), :class => 'icon icon-copy' %> | |
25 <%= delete_link role_path(role) unless role.builtin? %> | |
26 </td> | |
27 </tr> | |
28 <% end %> | |
29 </tbody> | |
30 </table> | |
31 | |
32 <p class="pagination"><%= pagination_links_full @role_pages %></p> | |
33 | |
34 <% html_title(l(:label_role_plural)) -%> |