annotate .svn/pristine/41/41786988141ecdd7b576a4ea632b825b99be0cde.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 <div class="contextual">
Chris@1296 2 <%= link_to l(:label_role_new), new_role_path, :class => 'icon icon-add' %>
Chris@1296 3 <%= link_to l(:label_permissions_report), {:action => 'permissions'}, :class => 'icon icon-summary' %>
Chris@1296 4 </div>
Chris@1296 5
Chris@1296 6 <h2><%=l(:label_role_plural)%></h2>
Chris@1296 7
Chris@1296 8 <table class="list">
Chris@1296 9 <thead><tr>
Chris@1296 10 <th><%=l(:label_role)%></th>
Chris@1296 11 <th><%=l(:button_sort)%></th>
Chris@1296 12 <th></th>
Chris@1296 13 </tr></thead>
Chris@1296 14 <tbody>
Chris@1296 15 <% for role in @roles %>
Chris@1296 16 <tr class="<%= cycle("odd", "even") %>">
Chris@1296 17 <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
Chris@1296 18 <td align="center" style="width:15%;">
Chris@1296 19 <% unless role.builtin? %>
Chris@1296 20 <%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
Chris@1296 21 <% end %>
Chris@1296 22 </td>
Chris@1296 23 <td class="buttons">
Chris@1296 24 <%= link_to l(:button_copy), new_role_path(:copy => role), :class => 'icon icon-copy' %>
Chris@1296 25 <%= delete_link role_path(role) unless role.builtin? %>
Chris@1296 26 </td>
Chris@1296 27 </tr>
Chris@1296 28 <% end %>
Chris@1296 29 </tbody>
Chris@1296 30 </table>
Chris@1296 31
Chris@1296 32 <p class="pagination"><%= pagination_links_full @role_pages %></p>
Chris@1296 33
Chris@1296 34 <% html_title(l(:label_role_plural)) -%>