|
|
|
@ -89,20 +89,6 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<% content_for :sidebar do %> |
|
|
|
|
<% if @total_hours.present? %> |
|
|
|
|
<h3><%= l(:label_spent_time) %></h3> |
|
|
|
|
<p><span class="icon5 icon-time"><%= l_hours(@total_hours) %></span></p> |
|
|
|
|
<p> |
|
|
|
|
<%= link_to(l(:label_details), {:controller => '/timelog', :action => 'index', :project_id => @project}) %> | |
|
|
|
|
<%= link_to(l(:label_report), project_time_entries_report_path(@project)) %> |
|
|
|
|
<% if authorize_for('timelog', 'new') %> |
|
|
|
|
| <%= link_to l(:button_log_time), {:controller => '/timelog', :action => 'new', :project_id => @project} %> |
|
|
|
|
<% end %> |
|
|
|
|
</p> |
|
|
|
|
<% end %> |
|
|
|
|
<%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %> |
|
|
|
|
<% end %> |
|
|
|
|
<% content_for :header_tags do %> |
|
|
|
|
<%= auto_discovery_link_tag(:atom, {:controller => '/activities', :action => 'index', :id => @project, :format => 'atom', :key => User.current.rss_key}) %> |
|
|
|
|
<% end %> |
|
|
|
|