Mercurial > hg > soundsoftware-site
comparison app/views/issues/_sidebar.rhtml @ 245:051f544170fe
* Update to SVN trunk revision 4993
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 11:42:28 +0000 |
parents | 1d32c0a0efbf |
children |
comparison
equal
deleted
inserted
replaced
244:8972b600f4fb | 245:051f544170fe |
---|---|
11 <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> | 11 <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> |
12 <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br /> | 12 <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br /> |
13 <% end %> | 13 <% end %> |
14 <%= call_hook(:view_issues_sidebar_planning_bottom) %> | 14 <%= call_hook(:view_issues_sidebar_planning_bottom) %> |
15 | 15 |
16 <% unless sidebar_queries.empty? -%> | 16 <%= render_sidebar_queries %> |
17 <h3><%= l(:label_query_plural) %></h3> | |
18 | |
19 <% sidebar_queries.each do |query| -%> | |
20 <%= link_to(h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query) %><br /> | |
21 <% end -%> | |
22 <%= call_hook(:view_issues_sidebar_queries_bottom) %> | 17 <%= call_hook(:view_issues_sidebar_queries_bottom) %> |
23 <% end -%> |