##// END OF EJS Templates
Additional "Log time" link on project overview (#11181)....
Jean-Philippe Lang -
r9714:6c9401b6242a
parent child
Show More
@@ -82,7 +82,11
82 82 <% if @total_hours.present? %>
83 83 <h3><%= l(:label_spent_time) %></h3>
84 84 <p><span class="icon icon-time"><%= l_hours(@total_hours) %></span></p>
85 <p><%= link_to(l(:label_details), project_time_entries_path(@project)) %> |
85 <p>
86 <% if User.current.allowed_to?(:log_time, @project) %>
87 <%= link_to l(:button_log_time), new_project_time_entry_path(@project) %> |
88 <% end %>
89 <%= link_to(l(:label_details), project_time_entries_path(@project)) %> |
86 90 <%= link_to(l(:label_report), report_project_time_entries_path(@project)) %></p>
87 91 <% end %>
88 92 <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %>
General Comments 0
You need to be logged in to leave comments. Login now