##// END OF EJS Templates
Fixed custom query sidebar links broken by r1797 (#1899)....
Jean-Philippe Lang -
r1871:713ce06e40cd
parent child
Show More
@@ -1,24 +1,24
1 1 <h3><%= l(:label_issue_plural) %></h3>
2 2 <%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br />
3 3 <% if @project %>
4 4 <%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %><br />
5 5 <%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %>
6 6
7 7 <% planning_links = []
8 8 planning_links << link_to_if_authorized(l(:label_calendar), :action => 'calendar', :project_id => @project)
9 9 planning_links << link_to_if_authorized(l(:label_gantt), :action => 'gantt', :project_id => @project)
10 10 planning_links.compact!
11 11 unless planning_links.empty? %>
12 12 <h3><%= l(:label_planning) %></h3>
13 13 <p><%= planning_links.join(' | ') %></p>
14 14 <% end %>
15 15
16 16 <% end %>
17 17
18 18 <% unless sidebar_queries.empty? -%>
19 19 <h3><%= l(:label_query_plural) %></h3>
20 20
21 21 <% sidebar_queries.each do |query| -%>
22 <%= link_to query.name, :query_id => query %><br />
22 <%= link_to query.name, :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %><br />
23 23 <% end -%>
24 24 <% end -%>
General Comments 0
You need to be logged in to leave comments. Login now