diff --git a/app/views/reports/issue_report.rhtml b/app/views/reports/issue_report.rhtml index 1d865ac..33f5e4a 100644 --- a/app/views/reports/issue_report.rhtml +++ b/app/views/reports/issue_report.rhtml @@ -1,4 +1,4 @@ -<% if @total_hours && authorize_for('timelog', 'reports') %> +<% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %>
<%= l(:label_spent_time) %>: <%= lwr(:label_f_hour, @total_hours) %>
<%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> |