Contributed by Andrew Smith.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9251
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<% 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>