]> source.dussan.org Git - redmine.git/commitdiff
Removes gantt and calendar links from the sidebar.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 16 Dec 2016 07:54:51 +0000 (07:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 16 Dec 2016 07:54:51 +0000 (07:54 +0000)
They now have their own menu items that show up on cross-project views (r15983).

git-svn-id: http://svn.redmine.org/redmine/trunk@16078 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_sidebar.html.erb

index 7e97c091115a4aa1af211249709d0b243d6bbe42..38d682b048581905082880cf135da3f1d904a37a 100644 (file)
@@ -6,13 +6,6 @@
 <li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
 <% end %>
 
-<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
-<li><%= link_to l(:label_calendar), _project_calendar_path(@project) %></li>
-<% end %>
-<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
-<li><%= link_to l(:label_gantt), _project_gantt_path(@project) %></li>
-<% end %>
-
 <% if User.current.allowed_to?(:import_issues, @project, :global => true) %>
 <li><%= link_to l(:button_import), new_issues_import_path %></li>
 <% end %>