From: Toshi MARUYAMA Date: Sat, 24 Mar 2012 00:02:35 +0000 (+0000) Subject: Fix missing cells at app/views/issues/show.html.erb X-Git-Tag: 1.4.0~99 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8bc638f404ac931bf3ce739c4ed59b902f97bef2;p=redmine.git Fix missing cells at app/views/issues/show.html.erb Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9251 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 8dce98384..b33fe4955 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -49,6 +49,9 @@ <% if User.current.allowed_to?(:view_time_entries, @project) %> <%=l(:label_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}) : "-" %> + <% else %> + + <% end %>