diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-30 17:41:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-30 17:41:54 +0000 |
commit | f37d1a5688051289807db84345aaa40fae610861 (patch) | |
tree | a416dc9fe523b92cd2b9826fd59290e01d31c934 /app/views/issues | |
parent | 4605381086cb1758dd905537c0c3c9fd1da239cc (diff) | |
download | redmine-f37d1a5688051289807db84345aaa40fae610861.tar.gz redmine-f37d1a5688051289807db84345aaa40fae610861.zip |
Merged r16292 (#20661).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16306 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 2cbff32e5..99bc8424d 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -62,7 +62,7 @@ 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) if @issue.total_spent_hours > 0 rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time' end |