_sidebar.html.erb 948 Bytes
Newer Older
jplang's avatar
jplang committed
1
<h3><%= l(:label_issue_plural) %></h3>
2 3 4

<ul>
<li><%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %></li>
5
<% if @project %>
6
<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
7
<% end %>
8

jplang's avatar
jplang committed
9
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
10
<li><%= link_to l(:label_calendar), _project_calendar_path(@project) %></li>
jplang's avatar
jplang committed
11 12
<% end %>
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
13
<li><%= link_to l(:label_gantt), _project_gantt_path(@project) %></li>
14
<% end %>
jplang's avatar
jplang committed
15 16 17 18

<% if User.current.allowed_to?(:import_issues, @project, :global => true) %>
<li><%= link_to l(:button_import), new_issues_import_path %></li>
<% end %>
19 20 21
</ul>

<%= call_hook(:view_issues_sidebar_issues_bottom) %>
jplang's avatar
jplang committed
22
<%= call_hook(:view_issues_sidebar_planning_bottom) %>
23

24
<%= render_sidebar_queries(IssueQuery, @project) %>
25
<%= call_hook(:view_issues_sidebar_queries_bottom) %>