diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-25 12:06:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-25 12:06:38 +0000 |
commit | 31bffaa053fc4f3d96224a4d93b465d4eab92395 (patch) | |
tree | 5b5eba1e7e29683b7426548da5ba76c2519d11e7 /app/views/issues | |
parent | 481f70d12537333206199b4a8d2891218959f4ad (diff) | |
download | redmine-31bffaa053fc4f3d96224a4d93b465d4eab92395.tar.gz redmine-31bffaa053fc4f3d96224a4d93b465d4eab92395.zip |
Display time spent on the issue and the total time spent like estimated hours (#17550).
git-svn-id: http://svn.redmine.org/redmine/trunk@14273 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/show.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index d8219f933..2065ce3b3 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -63,7 +63,9 @@ end end if User.current.allowed_to?(:view_time_entries, @project) - rows.right l(:label_spent_time), (@issue.total_spent_hours > 0 ? link_to(l_hours(@issue.total_spent_hours), issue_time_entries_path(@issue)) : "-"), :class => 'spent-time' + if @issue.total_spent_hours > 0 + rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time' + end end end %> <%= render_custom_fields_rows(@issue) %> |