luis@465: <% if User.current.allowed_to?(:add_subprojects, @project) %>
luis@465: <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add' %>
luis@465: <% end %>
luis@546:
luis@550: <% if @project.module_enabled? :redmine_bibliography %>
luis@626: <% if User.current.allowed_to?(:add_publication, @project) %>
luis@626: <%= link_to l(:label_add_publication_to_project), {:controller => 'publications', :action => 'new', :project_id => @project}, :class => 'icon icon-add' %>
luis@626: <% end %>
luis@550: <% end %>
luis@465:
luis@465:
luis@465:
luis@465:
luis@465: <%= textilizable @project.description %>
luis@465:
luis@465:
luis@465: <% unless @project.homepage.blank? %>- <%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %>
<% end %>
luis@465: <% if @subprojects.any? %>
luis@465: - <%=l(:label_subproject_plural)%>:
luis@465: <%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ") %>
luis@465: <% end %>
luis@465: <% @project.visible_custom_field_values.each do |custom_value| %>
luis@465: <% if !custom_value.value.blank? %>
luis@465: - <%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %>
luis@465: <% end %>
luis@465: <% end %>
luis@465:
luis@465:
luis@465: <% if User.current.allowed_to?(:view_issues, @project) %>
luis@465:
luis@465:
<%=l(:label_issue_tracking)%>
luis@465:
luis@465: <% for tracker in @trackers %>
luis@465: - <%= link_to tracker.name, :controller => 'issues', :action => 'index', :project_id => @project,
luis@465: :set_filter => 1,
luis@465: "tracker_id" => tracker.id %>:
luis@465: <%= l(:label_x_open_issues_abbr_on_total, :count => @open_issues_by_tracker[tracker].to_i,
luis@465: :total => @total_issues_by_tracker[tracker].to_i) %>
luis@465:
luis@465: <% end %>
luis@465:
luis@465:
luis@465: <%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 %>
luis@465: <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
luis@465: | <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %>
luis@465: <% end %>
luis@465: <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
luis@465: | <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %>
luis@465: <% end %>
luis@465:
luis@465:
luis@465: <% end %>
luis@465: <%= call_hook(:view_projects_show_left, :project => @project) %>
luis@465:
luis@465:
luis@465:
luis@465:
luis@465: <%= render :partial => 'bibliography_box' %>
luis@465:
luis@465: <%= render :partial => 'members_box' %>
luis@465:
luis@465: <% if @news.any? && authorize_for('news', 'index') %>
luis@465:
luis@465:
<%=l(:label_news_latest)%>
luis@465: <%= render :partial => 'news/news', :collection => @news %>
luis@465:
<%= link_to l(:label_news_view_all), :controller => 'news', :action => 'index', :project_id => @project %>
luis@465:
luis@465: <% end %>
luis@465: <%= call_hook(:view_projects_show_right, :project => @project) %>
luis@465:
luis@465:
luis@465: <% content_for :sidebar do %>
luis@465: <% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %>
luis@465: <%= link_to(l(:label_details), {:controller => 'timelog', :action => 'index', :project_id => @project}) %> |
luis@465: <%= link_to(l(:label_report), {:controller => 'time_entry_reports', :action => 'report', :project_id => @project}) %>
luis@465: <% end %>
luis@465: <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %>
luis@465: <% end %>
luis@465:
luis@465: <% content_for :header_tags do %>
luis@465: <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
luis@465: <% end %>
luis@465:
luis@465: <% html_title(l(:label_overview)) -%>