2007-09-22 17:17:49 +04:00
|
|
|
<h3><%= l(:label_issue_plural) %></h3>
|
2007-11-29 23:14:01 +03:00
|
|
|
<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br />
|
2008-03-30 18:20:07 +04:00
|
|
|
<% if @project %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %><br />
|
|
|
|
<%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %>
|
2008-09-10 22:26:13 +04:00
|
|
|
|
|
|
|
<% planning_links = []
|
2008-09-11 21:03:26 +04:00
|
|
|
planning_links << link_to_if_authorized(l(:label_calendar), :action => 'calendar', :project_id => @project)
|
2008-09-10 22:26:13 +04:00
|
|
|
planning_links << link_to_if_authorized(l(:label_gantt), :action => 'gantt', :project_id => @project)
|
|
|
|
planning_links.compact!
|
|
|
|
unless planning_links.empty? %>
|
|
|
|
<h3><%= l(:label_planning) %></h3>
|
|
|
|
<p><%= planning_links.join(' | ') %></p>
|
|
|
|
<% end %>
|
|
|
|
|
2008-03-30 16:29:07 +04:00
|
|
|
<% end %>
|
2007-09-22 17:17:49 +04:00
|
|
|
|
2008-03-30 16:29:07 +04:00
|
|
|
<% unless sidebar_queries.empty? -%>
|
2007-09-22 17:17:49 +04:00
|
|
|
<h3><%= l(:label_query_plural) %></h3>
|
|
|
|
|
2008-03-30 16:29:07 +04:00
|
|
|
<% sidebar_queries.each do |query| -%>
|
2008-09-17 21:23:08 +04:00
|
|
|
<%= link_to query.name, :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %><br />
|
2008-03-30 16:29:07 +04:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|