From b2171c8dfdeb244adb08c55400f26d381ab2d9e2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 30 Aug 2016 21:08:15 +0000 Subject: 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 --- lib/redmine.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/redmine.rb') 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, -- cgit v1.2.3