summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-19 18:37:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-19 18:37:52 +0000
commitdcc569fa34f7c961c2d2a5ba1f9da7b7a85b2f3b (patch)
tree291b5f8c010fc617610a0ffd6749039f3183c69f /lib
parent025e1bf7e13f175384c695dcca5c2af96bb0bc10 (diff)
downloadredmine-dcc569fa34f7c961c2d2a5ba1f9da7b7a85b2f3b.tar.gz
redmine-dcc569fa34f7c961c2d2a5ba1f9da7b7a85b2f3b.zip
Removed the "New issue" menu item (#6204).
git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index df234ebbd..64c6a6946 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -231,10 +231,6 @@ Redmine::MenuManager.map :project_menu do |menu|
menu.push :roadmap, { :controller => 'versions', :action => 'index' }, :param => :project_id,
:if => Proc.new { |p| p.shared_versions.any? }
menu.push :issues, { :controller => 'issues', :action => 'index' }, :param => :project_id, :caption => :label_issue_plural
- menu.push :new_issue, { :controller => 'issues', :action => 'new', :copy_from => nil }, :param => :project_id, :caption => :label_issue_new,
- :html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) },
- :if => Proc.new { |p| p.trackers.any? },
- :permission => :add_issues
menu.push :gantt, { :controller => 'gantts', :action => 'show' }, :param => :project_id, :caption => :label_gantt
menu.push :calendar, { :controller => 'calendars', :action => 'show' }, :param => :project_id, :caption => :label_calendar
menu.push :news, { :controller => 'news', :action => 'index' }, :param => :project_id, :caption => :label_news_plural