##// END OF EJS Templates
Colorize transitions....
Jean-Philippe Lang -
r9805:cb09055d60a7
parent child
Show More
@@ -1,4 +1,4
1 <table class="list transitions-<%= name %>">
1 <table class="list transitions transitions-<%= name %>">
2 <thead>
2 <thead>
3 <tr>
3 <tr>
4 <th align="left">
4 <th align="left">
@@ -29,8 +29,9
29 <%=h old_status.name %>
29 <%=h old_status.name %>
30 </td>
30 </td>
31 <% for new_status in @statuses -%>
31 <% for new_status in @statuses -%>
32 <td align="center">
32 <% checked = workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id} %>
33 <%= 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},
33 <td align="center" class="<%= checked ? 'enabled' : '' %>">
34 <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, checked,
34 :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
35 :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
35 </td>
36 </td>
36 <% end -%>
37 <% end -%>
@@ -433,6 +433,7 ul.properties li span {font-style:italic;}
433 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
433 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
434
434
435 #workflow_copy_form select { width: 200px; }
435 #workflow_copy_form select { width: 200px; }
436 table.transitions td.enabled {background: #bfb;}
436 table.fields_permissions select {font-size:90%}
437 table.fields_permissions select {font-size:90%}
437 table.fields_permissions td.readonly {background:#ddd;}
438 table.fields_permissions td.readonly {background:#ddd;}
438 table.fields_permissions td.required {background:#d88;}
439 table.fields_permissions td.required {background:#d88;}
General Comments 0
You need to be logged in to leave comments. Login now