summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-30 21:08:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-08-30 21:08:15 +0000
commitb2171c8dfdeb244adb08c55400f26d381ab2d9e2 (patch)
tree024b81719a73bc700cd7d0e68f2f30dfbd9bedf8 /lib/redmine.rb
parentefabbedebe80be51b5a05bed53de3eee7ce2e68b (diff)
downloadredmine-b2171c8dfdeb244adb08c55400f26d381ab2d9e2.tar.gz
redmine-b2171c8dfdeb244adb08c55400f26d381ab2d9e2.zip
Add "Log time" to global button menu (+) (#23639).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@15760 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 56ad9f6c7..fe53a6d3b 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -238,6 +238,8 @@ Redmine::MenuManager.map :project_menu do |menu|
:parent => :new_object
menu.push :new_version, {:controller => 'versions', :action => 'new'}, :param => :project_id, :caption => :label_version_new,
:parent => :new_object
+ menu.push :new_timelog, {:controller => 'timelog', :action => 'new'}, :param => :project_id, :caption => :button_log_time,
+ :parent => :new_object
menu.push :new_news, {:controller => 'news', :action => 'new'}, :param => :project_id, :caption => :label_news_new,
:parent => :new_object
menu.push :new_document, {:controller => 'documents', :action => 'new'}, :param => :project_id, :caption => :label_document_new,