Fixed: Wrong label in issue-journal for subtask-changes (#5090).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3593 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0097770626
commit
2f0fbef858
|
@ -109,6 +109,11 @@ module IssuesHelper
|
||||||
when detail.prop_key == 'estimated_hours'
|
when detail.prop_key == 'estimated_hours'
|
||||||
value = "%0.02f" % detail.value.to_f unless detail.value.blank?
|
value = "%0.02f" % detail.value.to_f unless detail.value.blank?
|
||||||
old_value = "%0.02f" % detail.old_value.to_f unless detail.old_value.blank?
|
old_value = "%0.02f" % detail.old_value.to_f unless detail.old_value.blank?
|
||||||
|
|
||||||
|
when detail.prop_key == 'parent_id'
|
||||||
|
label = l(:field_parent_issue)
|
||||||
|
value = "##{detail.value}" unless detail.value.blank?
|
||||||
|
old_value = "##{detail.old_value}" unless detail.old_value.blank?
|
||||||
end
|
end
|
||||||
when 'cf'
|
when 'cf'
|
||||||
custom_field = CustomField.find_by_id(detail.prop_key)
|
custom_field = CustomField.find_by_id(detail.prop_key)
|
||||||
|
|
Loading…
Reference in New Issue