diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-04 16:43:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-04 16:43:32 +0000 |
commit | 6d498a3c46c999812f9fa78a420516657a3ddab2 (patch) | |
tree | 0f03cc39db154a292ff7e0d3906412e9922ce1cf /app/views | |
parent | bddd19c1e662e6e5565ec1b2968b2907780c35de (diff) | |
download | redmine-6d498a3c46c999812f9fa78a420516657a3ddab2.tar.gz redmine-6d498a3c46c999812f9fa78a420516657a3ddab2.zip |
Makes spent time column available on the issue list (#971).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8073 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-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 491966b22..3302bbb7a 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -32,7 +32,7 @@ <th class="category"><%=l(:field_category)%>:</th><td class="category"><%=h(@issue.category ? @issue.category.name : "-") %></td> <% if User.current.allowed_to?(:view_time_entries, @project) %> <th class="spent-time"><%=l(:label_spent_time)%>:</th> - <td class="spent-time"><%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-" %></td> + <td class="spent-time"><%= @issue.total_spent_hours > 0 ? (link_to l_hours(@issue.total_spent_hours), {:controller => 'timelog', :action => 'index', :project_id => @project, :issue_id => @issue}) : "-" %></td> <% end %> </tr> <tr> |