<%= l(:label_issue_plural) %>
<%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %>
<% if @project %>
<%= link_to l(:field_summary), project_issues_report_path(@project) %>
<% end %>
<%= call_hook(:view_issues_sidebar_issues_bottom) %>
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
<%= link_to l(:label_calendar), _project_calendar_path(@project) %>
<% end %>
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
<%= link_to l(:label_gantt), _project_gantt_path(@project) %>
<% end %>
<%= call_hook(:view_issues_sidebar_planning_bottom) %>
<%= render_sidebar_queries %>
<%= call_hook(:view_issues_sidebar_queries_bottom) %>