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