Project

General

Profile

Patch #20661 » show.html.erb.patch

Martin Dubé, 2015-09-02 15:25

View differences:

show.html.erb (working copy)
62 62
      rows.right l(:field_estimated_hours), issue_estimated_hours_details(@issue), :class => 'estimated-hours'
63 63
    end
64 64
  end
65
  if User.current.allowed_to_view_all_time_entries?(@project)
65
  if User.current.allowed_to?(:view_time_entries, @project)
66
    Issue.load_visible_spent_hours([@issue])
66 67
    if @issue.total_spent_hours > 0
67 68
      rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
68 69
    end
(1-1/4)