[#2271] Show overhead time on the issue details page.
This commit is contained in:
@@ -6,8 +6,13 @@ class OverheadIssueHook < Redmine::Hook::ViewListener
|
||||
:class => 'billable-hours')
|
||||
billable_spent = content_tag(:td, l_hours(context[:issue].billable_time_spent))
|
||||
|
||||
overhead_label = content_tag(:td,
|
||||
content_tag(:strong, l(:overhead_overhead_time)+":"),
|
||||
:class => 'overhead-hours')
|
||||
overhead_spent = content_tag(:td, l_hours(context[:issue].overhead_time_spent))
|
||||
|
||||
return content_tag(:tr,
|
||||
billable_label + billable_spent,
|
||||
billable_label + billable_spent + overhead_label + overhead_spent,
|
||||
:class => 'overhead-plugin')
|
||||
else
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user