@@ -82,7 +82,11 | |||||
82 | <% if @total_hours.present? %> |
|
82 | <% if @total_hours.present? %> | |
83 | <h3><%= l(:label_spent_time) %></h3> |
|
83 | <h3><%= l(:label_spent_time) %></h3> | |
84 | <p><span class="icon icon-time"><%= l_hours(@total_hours) %></span></p> |
|
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 | <%= link_to(l(:label_report), report_project_time_entries_path(@project)) %></p> |
|
90 | <%= link_to(l(:label_report), report_project_time_entries_path(@project)) %></p> | |
87 | <% end %> |
|
91 | <% end %> | |
88 | <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %> |
|
92 | <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %> |
General Comments 0
You need to be logged in to leave comments.
Login now