Patch #2960 ยป patch.txt
1 |
### Eclipse Workspace Patch 1.0 |
---|---|
2 |
#P Redmine |
3 |
Index: app/views/issues/_sidebar.rhtml |
4 |
=================================================================== |
5 |
--- app/views/issues/_sidebar.rhtml (revision 2548) |
6 |
+++ app/views/issues/_sidebar.rhtml (working copy) |
7 |
@@ -7,8 +7,8 @@ |
8 |
<%= call_hook(:view_issues_sidebar_issues_bottom) %> |
9 |
|
10 |
<% planning_links = [] |
11 |
- planning_links << link_to(l(:label_calendar), :action => 'calendar', :project_id => @project) if User.current.allowed_to?(:view_calendar, @project, :global => true) |
12 |
- planning_links << link_to(l(:label_gantt), :action => 'gantt', :project_id => @project) if User.current.allowed_to?(:view_gantt, @project, :global => true) |
13 |
+ planning_links << link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) if User.current.allowed_to?(:view_calendar, @project, :global => true) |
14 |
+ planning_links << link_to(l(:label_gantt), :controller => 'issues', :action => 'gantt', :project_id => @project) if User.current.allowed_to?(:view_gantt, @project, :global => true) |
15 |
%> |
16 |
<% unless planning_links.empty? %> |
17 |
<h3><%= l(:label_planning) %></h3> |