Patch #20661 » show.html.erb.patch
| show.html.erb (working copy) | ||
|---|---|---|
|
rows.right l(:field_estimated_hours), issue_estimated_hours_details(@issue), :class => 'estimated-hours'
|
||
|
end
|
||
|
end
|
||
|
if User.current.allowed_to_view_all_time_entries?(@project)
|
||
|
if User.current.allowed_to?(:view_time_entries, @project)
|
||
|
Issue.load_visible_spent_hours([@issue])
|
||
|
if @issue.total_spent_hours > 0
|
||
|
rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
|
||
|
end
|
||