edit.rhtml.diff

Yuki Kita, 2010-05-25 17:06

Download (781 Bytes)

View differences:

app/views/workflows/edit.rhtml (working copy)
55 55
		<% new_status_ids_allowed = old_status.find_new_statuses_allowed_to([@role], @tracker).collect(&:id) -%>
56 56
		<% for new_status in @statuses -%>
57 57
		<td align="center">
58
                      <% if old_status == new_status %>
59
                        -
60
                      <% else %>
58 61
			<%= check_box_tag "issue_status[#{ old_status.id }][]", new_status.id, new_status_ids_allowed.include?(new_status.id),
59 62
						:class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>			
63
                      <% end %>
60 64
		</td>
61 65
		<% end -%>
62 66
	</tr>