diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-11 07:54:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-04-11 07:54:20 +0000 |
commit | b474ad67de5aa50489fedc136358563ea5eba324 (patch) | |
tree | 088f0c0884f3ef105b242122b5e34d735128d5bd /app | |
parent | 09eef4e75c022cb4b196b6612e65a74bd8f156ed (diff) | |
download | redmine-b474ad67de5aa50489fedc136358563ea5eba324.tar.gz redmine-b474ad67de5aa50489fedc136358563ea5eba324.zip |
"Required" and "Read-only" rules on "Fields Permissions" screen are not colored (#19580).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14160 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/workflows/permissions.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/workflows/permissions.html.erb b/app/views/workflows/permissions.html.erb index 7b4b3f840..03740214d 100644 --- a/app/views/workflows/permissions.html.erb +++ b/app/views/workflows/permissions.html.erb @@ -65,7 +65,7 @@ <%= 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">»</a><% end %> </td> |