Defect #5593 » edit.rhtml.diff
| app/views/workflows/edit.rhtml (working copy) | ||
|---|---|---|
|
<% new_status_ids_allowed = old_status.find_new_statuses_allowed_to([@role], @tracker).collect(&:id) -%>
|
||
|
<% for new_status in @statuses -%>
|
||
|
<td align="center">
|
||
|
<% if old_status == new_status %>
|
||
|
-
|
||
|
<% else %>
|
||
|
<%= check_box_tag "issue_status[#{ old_status.id }][]", new_status.id, new_status_ids_allowed.include?(new_status.id),
|
||
|
:class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
<% end -%>
|
||
|
</tr>
|
||