]> source.dussan.org Git - redmine.git/commitdiff
Fix missing cells at app/views/issues/show.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Mar 2012 00:02:35 +0000 (00:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Mar 2012 00:02:35 +0000 (00:02 +0000)
Contributed by Andrew Smith.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9251 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/show.html.erb

index 8dce9838484ee8dbf04f67a323323b83c5accf07..b33fe4955e4252c1e8253f3bded38167fe45c237 100644 (file)
@@ -49,6 +49,9 @@
     <% if User.current.allowed_to?(:view_time_entries, @project) %>
     <th class="spent-time"><%=l(:label_spent_time)%>:</th>
     <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>
+    <% else %>
+    <th></th>
+    <td></td>
     <% end %>
 </tr>
 <tr>