annotate .svn/pristine/d0/d0da4895684ef4cb299c5edf6622c92dd56d9cc9.svn-base @ 929:5f33065ddc4b
redmine-1.3
Update to Redmine SVN rev 9414 on 1.3-stable branch
author |
Chris Cannam |
date |
Wed, 27 Jun 2012 14:54:18 +0100 |
parents |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 <div class="contextual">
|
Chris@909
|
2 <%= link_to l(:label_role_new), {:action => 'new'}, :class => 'icon icon-add' %>
|
Chris@909
|
3 </div>
|
Chris@909
|
4
|
Chris@909
|
5 <h2><%=l(:label_role_plural)%></h2>
|
Chris@909
|
6
|
Chris@909
|
7 <table class="list">
|
Chris@909
|
8 <thead><tr>
|
Chris@909
|
9 <th><%=l(:label_role)%></th>
|
Chris@909
|
10 <th><%=l(:button_sort)%></th>
|
Chris@909
|
11 <th></th>
|
Chris@909
|
12 </tr></thead>
|
Chris@909
|
13 <tbody>
|
Chris@909
|
14 <% for role in @roles %>
|
Chris@909
|
15 <tr class="<%= cycle("odd", "even") %>">
|
Chris@909
|
16 <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), :action => 'edit', :id => role)) %></td>
|
Chris@909
|
17 <td align="center" style="width:15%;">
|
Chris@909
|
18 <% unless role.builtin? %>
|
Chris@909
|
19 <%= reorder_links('role', {:action => 'edit', :id => role}) %>
|
Chris@909
|
20 <% end %>
|
Chris@909
|
21 </td>
|
Chris@909
|
22 <td class="buttons">
|
Chris@909
|
23 <%= link_to(l(:button_delete), { :action => 'destroy', :id => role },
|
Chris@909
|
24 :method => :post,
|
Chris@909
|
25 :confirm => l(:text_are_you_sure),
|
Chris@909
|
26 :class => 'icon icon-del') unless role.builtin? %>
|
Chris@909
|
27 </td>
|
Chris@909
|
28 </tr>
|
Chris@909
|
29 <% end %>
|
Chris@909
|
30 </tbody>
|
Chris@909
|
31 </table>
|
Chris@909
|
32
|
Chris@909
|
33 <p class="pagination"><%= pagination_links_full @role_pages %></p>
|
Chris@909
|
34
|
Chris@909
|
35 <p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
|
Chris@909
|
36
|
Chris@909
|
37 <% html_title(l(:label_role_plural)) -%>
|