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:
Chris@909:
Chris@909: <%= textilizable @project.description %>
Chris@909:
Chris@909:
Chris@909: <% unless @project.homepage.blank? %>- <%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %>
<% end %>
Chris@909: <% if @subprojects.any? %>
Chris@909: - <%=l(:label_subproject_plural)%>:
Chris@909: <%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ").html_safe %>
Chris@909: <% end %>
Chris@909: <% @project.visible_custom_field_values.each do |custom_value| %>
Chris@909: <% if !custom_value.value.blank? %>
Chris@909: - <%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %>
Chris@909: <% end %>
Chris@909: <% end %>
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: <% for tracker in @trackers %>
Chris@909: - <%= link_to h(tracker.name), :controller => 'issues', :action => 'index', :project_id => @project,
Chris@909: :set_filter => 1,
Chris@909: "tracker_id" => tracker.id %>:
Chris@909: <%= l(:label_x_open_issues_abbr_on_total, :count => @open_issues_by_tracker[tracker].to_i,
Chris@909: :total => @total_issues_by_tracker[tracker].to_i) %>
Chris@909:
Chris@909: <% end %>
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: <%= 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)) -%>