Project

General

Profile

Defect #5593 » 5593-r13306.diff

compatible with Redmine 2.5.2.devel.13306 - Go MAEDA, 2014-07-13 07:38

View differences:

app/helpers/workflows_helper.rb (working copy)
w = workflows.select {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id}.size
tag_name = "transitions[#{ old_status.id }][#{new_status.id}][#{name}]"
if w == 0 || w == @roles.size * @trackers.size
if old_status == new_status
"-"
elsif w == 0 || w == @roles.size * @trackers.size
hidden_field_tag(tag_name, "0") +
check_box_tag(tag_name, "1", w != 0,
(3-3/12)