Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -9,11 +9,19 @@
|
|||
<thead><tr>
|
||||
<th><%=l(:label_role)%></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<% for role in @roles %>
|
||||
<tr class="<%= role.builtin? ? "builtin" : "givable" %>">
|
||||
<td class="name"><%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, edit_role_path(role))) %></td>
|
||||
<td>
|
||||
<% unless role.builtin? || role.workflow_rules.exists? %>
|
||||
<span class="icon icon-warning">
|
||||
<%= l(:text_role_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:role_id => role) %>)
|
||||
</span>
|
||||
<% end %>
|
||||
</td>
|
||||
<td class="buttons">
|
||||
<%= reorder_handle(role) unless role.builtin? %>
|
||||
<%= link_to l(:button_copy), new_role_path(:copy => role), :class => 'icon icon-copy' %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue