_sidebar.rhtml
24 lines
| 1.0 KiB
| text/html+ruby
|
RhtmlLexer
|
r736 | <h3><%= l(:label_issue_plural) %></h3> | ||
|
r924 | <%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br /> | ||
|
r1297 | <% if @project %> | ||
|
r736 | <%= 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 %> | ||||
|
r1795 | |||
<% planning_links = [] | ||||
|
r1796 | planning_links << link_to_if_authorized(l(:label_calendar), :action => 'calendar', :project_id => @project) | ||
|
r1795 | 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 %> | ||||
|
r1296 | <% end %> | ||
|
r736 | |||
|
r1296 | <% unless sidebar_queries.empty? -%> | ||
|
r736 | <h3><%= l(:label_query_plural) %></h3> | ||
|
r1296 | <% sidebar_queries.each do |query| -%> | ||
|
r1871 | <%= link_to query.name, :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %><br /> | ||
|
r1296 | <% end -%> | ||
<% end -%> | ||||