-<table class="list transitions-<%= name %>">
+<table class="list transitions transitions-<%= name %>">
<thead>
<tr>
<th align="left">
<%=h old_status.name %>
</td>
<% for new_status in @statuses -%>
- <td align="center">
- <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id},
+ <% checked = workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id} %>
+ <td align="center" class="<%= checked ? 'enabled' : '' %>">
+ <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, checked,
:class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
</td>
<% end -%>
#user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
#workflow_copy_form select { width: 200px; }
+table.transitions td.enabled {background: #bfb;}
table.fields_permissions select {font-size:90%}
table.fields_permissions td.readonly {background:#ddd;}
table.fields_permissions td.required {background:#d88;}