0003-add-virtual-menu-at-the-beginning-of-the-project-men.patch

Jan from Planio www.plan.io, 2016-06-06 14:26

Download (1.74 KB)

View differences:

lib/redmine.rb
226 226
end
227 227

  
228 228
Redmine::MenuManager.map :project_menu do |menu|
229
  menu.push :new_object, nil, :caption => ' + '
230
  menu.push :new_issue_category, {:controller => 'issue_categories', :action => 'new'}, :param => :project_id, :caption => :label_issue_category_new,
231
              :parent => :new_object
232
  menu.push :new_version, {:controller => 'versions', :action => 'new'}, :param => :project_id, :caption => :label_version_new,
233
              :parent => :new_object
234
  menu.push :new_news, {:controller => 'news', :action => 'new'}, :param => :project_id, :caption => :label_news_new,
235
              :parent => :new_object
236
  menu.push :new_document, {:controller => 'documents', :action => 'new'}, :param => :project_id, :caption => :label_document_new,
237
              :parent => :new_object
238
  menu.push :new_file, {:controller => 'files', :action => 'new'}, :param => :project_id, :caption => :label_attachment_new,
239
              :parent => :new_object
229 240
  menu.push :overview, { :controller => 'projects', :action => 'show' }
230 241
  menu.push :activity, { :controller => 'activities', :action => 'index' }
231 242
  menu.push :roadmap, { :controller => 'versions', :action => 'index' }, :param => :project_id,
232
-