Mercurial > hg > soundsoftware-site
comparison .svn/pristine/dc/dc9139c99c509d9f76df794ebe1b204339e929fd.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
comparison
equal
deleted
inserted
replaced
1297:0a574315af3e | 1298:4f746d8966dd |
---|---|
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><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td> | |
18 <td align="center" style="width:15%;"> | |
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)) -%> |