comparison .svn/pristine/41/41786988141ecdd7b576a4ea632b825b99be0cde.svn-base @ 1296:038ba2d95de8 redmine-2.2

Fix redmine-2.2 branch update (add missing svn files)
author Chris Cannam
date Fri, 14 Jun 2013 09:05:06 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1296:038ba2d95de8
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), {:action => 'permissions'}, :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)) -%>