@@ -56,7 +56,9 | |||||
56 | rows.right l(:field_done_ratio), progress_bar(@issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%"), :class => 'progress' |
|
56 | rows.right l(:field_done_ratio), progress_bar(@issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%"), :class => 'progress' | |
57 | end |
|
57 | end | |
58 | unless @issue.disabled_core_fields.include?('estimated_hours') |
|
58 | unless @issue.disabled_core_fields.include?('estimated_hours') | |
59 | rows.right l(:field_estimated_hours), l_hours(@issue.estimated_hours), :class => 'estimated-hours' |
|
59 | unless @issue.estimated_hours.nil? | |
|
60 | rows.right l(:field_estimated_hours), l_hours(@issue.estimated_hours), :class => 'estimated-hours' | |||
|
61 | end | |||
60 | end |
|
62 | end | |
61 | if User.current.allowed_to?(:view_time_entries, @project) |
|
63 | if User.current.allowed_to?(:view_time_entries, @project) | |
62 | rows.right l(:label_spent_time), (@issue.total_spent_hours > 0 ? (link_to l_hours(@issue.total_spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-"), :class => 'spent-time' |
|
64 | rows.right l(:label_spent_time), (@issue.total_spent_hours > 0 ? (link_to l_hours(@issue.total_spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-"), :class => 'spent-time' |
General Comments 0
You need to be logged in to leave comments.
Login now