Project

General

Profile

Defect #19580 » fields_permissions_color_fix.diff

patch - Go MAEDA, 2015-04-09 15:56

View differences:

app/views/workflows/permissions.html.erb (working copy)
<%= name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %>
</td>
<% for status in @statuses -%>
<td class="<%= @permissions[status.id][field] %>">
<td class="<%= @permissions[status.id][field].try(:join, ' ') %>">
<%= field_permission_tag(@permissions, status, field, @roles) %>
<% unless status == @statuses.last %><a href="#" class="repeat-value">&#187;</a><% end %>
</td>
(1-1/3)