summaryrefslogtreecommitdiffstats
path: root/app/views/versions/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/versions/show.html.erb')
-rw-r--r--app/views/versions/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb
index d05729e51..0a45b9c84 100644
--- a/app/views/versions/show.html.erb
+++ b/app/views/versions/show.html.erb
@@ -19,7 +19,7 @@
<th><%= l(:field_estimated_hours) %></th>
<td class="total-hours"><%= html_hours(l_hours(@version.estimated_hours)) %></td>
</tr>
-<% if User.current.allowed_to?(:view_time_entries, @project) %>
+<% if User.current.allowed_to_view_all_time_entries?(@project) %>
<tr>
<th><%= l(:label_spent_time) %></th>
<td class="total-hours"><%= html_hours(l_hours(@version.spent_hours)) %></td>