summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:02:35 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:02:35 +0000
commit8bc638f404ac931bf3ce739c4ed59b902f97bef2 (patch)
treee757c3b41cf84c2a43cfe209e8f1619428a28e8d /app/views
parent27c390bb62d0304b724a4d4ef6431147365232ba (diff)
downloadredmine-8bc638f404ac931bf3ce739c4ed59b902f97bef2.tar.gz
redmine-8bc638f404ac931bf3ce739c4ed59b902f97bef2.zip
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
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/show.html.erb3
1 files changed, 3 insertions, 0 deletions
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) %>
<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>