annotate .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
rev   line source
Chris@1295 1 <div class="contextual">
Chris@1295 2 <%= link_to l(:label_role_new), new_role_path, :class => 'icon icon-add' %>
Chris@1295 3 <%= link_to l(:label_permissions_report), permissions_roles_path, :class => 'icon icon-summary' %>
Chris@1295 4 </div>
Chris@1295 5
Chris@1295 6 <h2><%=l(:label_role_plural)%></h2>
Chris@1295 7
Chris@1295 8 <table class="list">
Chris@1295 9 <thead><tr>
Chris@1295 10 <th><%=l(:label_role)%></th>
Chris@1295 11 <th><%=l(:button_sort)%></th>
Chris@1295 12 <th></th>
Chris@1295 13 </tr></thead>
Chris@1295 14 <tbody>
Chris@1295 15 <% for role in @roles %>
Chris@1295 16 <tr class="<%= cycle("odd", "even") %>">
Chris@1295 17 <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
Chris@1295 18 <td align="center" style="width:15%;">
Chris@1295 19 <% unless role.builtin? %>
Chris@1295 20 <%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
Chris@1295 21 <% end %>
Chris@1295 22 </td>
Chris@1295 23 <td class="buttons">
Chris@1295 24 <%= link_to l(:button_copy), new_role_path(:copy => role), :class => 'icon icon-copy' %>
Chris@1295 25 <%= delete_link role_path(role) unless role.builtin? %>
Chris@1295 26 </td>
Chris@1295 27 </tr>
Chris@1295 28 <% end %>
Chris@1295 29 </tbody>
Chris@1295 30 </table>
Chris@1295 31
Chris@1295 32 <p class="pagination"><%= pagination_links_full @role_pages %></p>
Chris@1295 33
Chris@1295 34 <% html_title(l(:label_role_plural)) -%>