Chris@909:
Chris@909: <% if User.current.allowed_to?(:add_subprojects, @project) %> Chris@909: <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add' %> Chris@909: <% end %> Chris@909:
Chris@909: Chris@909:

<%=l(:label_overview)%>

Chris@909: Chris@909:
Chris@909:
Chris@909: <%= textilizable @project.description %> Chris@909:
Chris@909: Chris@909: Chris@909: <% if User.current.allowed_to?(:view_issues, @project) %> Chris@909:
Chris@909:

<%=l(:label_issue_tracking)%>

Chris@909: Chris@909:

Chris@909: <%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 %> Chris@909: <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %> Chris@909: | <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %> Chris@909: <% end %> Chris@909: <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> Chris@909: | <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %> Chris@909: <% end %> Chris@909:

Chris@909:
Chris@909: <% end %> Chris@909: <%= call_hook(:view_projects_show_left, :project => @project) %> Chris@909:
Chris@909: Chris@909:
Chris@909: <%= render :partial => 'members_box' %> Chris@909: Chris@909: <% if @news.any? && authorize_for('news', 'index') %> Chris@909:
Chris@909:

<%=l(:label_news_latest)%>

Chris@909: <%= render :partial => 'news/news', :collection => @news %> Chris@909:

<%= link_to l(:label_news_view_all), :controller => 'news', :action => 'index', :project_id => @project %>

Chris@909:
Chris@909: <% end %> Chris@909: <%= call_hook(:view_projects_show_right, :project => @project) %> Chris@909:
Chris@909: Chris@909: <% content_for :sidebar do %> Chris@909: <% if @total_hours.present? %> Chris@909:

<%= l(:label_spent_time) %>

Chris@909:

<%= l_hours(@total_hours) %>

Chris@909:

<%= link_to(l(:label_details), {:controller => 'timelog', :action => 'index', :project_id => @project}) %> | Chris@909: <%= link_to(l(:label_report), {:controller => 'time_entry_reports', :action => 'report', :project_id => @project}) %>

Chris@909: <% end %> Chris@909: <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %> Chris@909: <% end %> Chris@909: Chris@909: <% content_for :header_tags do %> Chris@909: <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :key => User.current.rss_key}) %> Chris@909: <% end %> Chris@909: Chris@909: <% html_title(l(:label_overview)) -%>