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 %>