@@ -191,8 +191,12 module QueriesHelper | |||
|
191 | 191 | content_tag('span', |
|
192 | 192 | value.to_s(item) {|other| link_to_issue(other, :subject => false, :tracker => false)}.html_safe, |
|
193 | 193 | :class => value.css_classes_for(item)) |
|
194 |
when :hours, |
|
|
194 | when :hours, :estimated_hours | |
|
195 | 195 | format_hours(value) |
|
196 | when :spent_hours | |
|
197 | link_to_if(value > 0, format_hours(value), project_time_entries_path(item.project, :issue_id => "#{item.id}")) | |
|
198 | when :total_spent_hours | |
|
199 | link_to_if(value > 0, format_hours(value), project_time_entries_path(item.project, :issue_id => "~#{item.id}")) | |
|
196 | 200 | else |
|
197 | 201 | format_object(value) |
|
198 | 202 | end |
General Comments 0
You need to be logged in to leave comments.
Login now