@@ -1,4 +1,4 | |||||
1 | <% if @total_hours && authorize_for('timelog', 'reports') %> |
|
1 | <% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %> | |
2 | <div style="float:right;text-align:right;"> |
|
2 | <div style="float:right;text-align:right;"> | |
3 | <strong><%= l(:label_spent_time) %></strong>: <span class="icon icon-time"><%= lwr(:label_f_hour, @total_hours) %></span><br /> |
|
3 | <strong><%= l(:label_spent_time) %></strong>: <span class="icon icon-time"><%= lwr(:label_f_hour, @total_hours) %></span><br /> | |
4 | <%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> | |
|
4 | <%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> | |
General Comments 0
You need to be logged in to leave comments.
Login now