##// END OF EJS Templates
Adds units in history for estimated time (#12456)....
Jean-Philippe Lang -
r14761:cc2401a2b92f
parent child
Show More
@@ -382,8 +382,8 module IssuesHelper
382 old_value = find_name_by_reflection(field, detail.old_value)
382 old_value = find_name_by_reflection(field, detail.old_value)
383
383
384 when 'estimated_hours'
384 when 'estimated_hours'
385 value = "%0.02f" % detail.value.to_f unless detail.value.blank?
385 value = l_hours_short(detail.value.to_f) unless detail.value.blank?
386 old_value = "%0.02f" % detail.old_value.to_f unless detail.old_value.blank?
386 old_value = l_hours_short(detail.old_value.to_f) unless detail.old_value.blank?
387
387
388 when 'parent_id'
388 when 'parent_id'
389 label = l(:field_parent_issue)
389 label = l(:field_parent_issue)
General Comments 0
You need to be logged in to leave comments. Login now