Update view.html.erb

This commit is contained in:
2016-09-19 22:05:48 -04:00
committed by GitHub
parent a4573fce1c
commit 1863b33955

View File

@@ -42,11 +42,11 @@ This customer link expires in <%= distance_of_time_in_words(Time.now, @token.exp
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_all_time_entries?(@project)
if @issue.total_spent_hours > 0
rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
end
end
#end
end %>
<%= render_custom_fields_rows(@issue) %>
<%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>