diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-20 13:07:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-20 13:07:19 +0000 |
commit | 16e9ffce0d0e803f02e3660450120602bca8aff5 (patch) | |
tree | 67e40838004344d3b5ee98ef18d170210bf4c380 /lib/redmine.rb | |
parent | 44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4 (diff) | |
download | redmine-16e9ffce0d0e803f02e3660450120602bca8aff5.tar.gz redmine-16e9ffce0d0e803f02e3660450120602bca8aff5.zip |
Added a 'New issue' link in the main menu (accesskey 7).
The drop-down lists to add an issue on the project overview and the issue list are removed.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1081 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index ea05d6e80..1aee1767c 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -95,6 +95,8 @@ Redmine::MenuManager.map :project_menu do |menu| menu.push :activity, { :controller => 'projects', :action => 'activity' }, :caption => :label_activity menu.push :roadmap, { :controller => 'projects', :action => 'roadmap' }, :caption => :label_roadmap menu.push :issues, { :controller => 'issues', :action => 'index' }, :param => :project_id, :caption => :label_issue_plural + menu.push :new_issue, { :controller => 'issues', :action => 'new' }, :param => :project_id, :caption => :label_issue_new, + :html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) } menu.push :news, { :controller => 'news', :action => 'index' }, :param => :project_id, :caption => :label_news_plural menu.push :documents, { :controller => 'documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural menu.push :wiki, { :controller => 'wiki', :action => 'index', :page => nil }, |