# HG changeset patch # User Chris Cannam # Date 1301650282 -3600 # Node ID 96cfb24411c60d7802688e7d5d4195b1aa41ef6c # Parent 3ca3a0255e2a6d69e55f417965fc9d57084a0172 Move News further to left in menu, in a more obvious place between Overview and Activity diff -r 3ca3a0255e2a -r 96cfb24411c6 lib/redmine.rb --- a/lib/redmine.rb Fri Apr 01 09:38:13 2011 +0100 +++ b/lib/redmine.rb Fri Apr 01 10:31:22 2011 +0100 @@ -185,6 +185,7 @@ Redmine::MenuManager.map :project_menu do |menu| menu.push :overview, { :controller => 'projects', :action => 'show' } + menu.push :news, { :controller => 'news', :action => 'index' }, :param => :project_id, :caption => :label_news_plural menu.push :activity, { :controller => 'activities', :action => 'index' } menu.push :roadmap, { :controller => 'versions', :action => 'index' }, :param => :project_id, :if => Proc.new { |p| p.shared_versions.any? } @@ -193,7 +194,6 @@ :html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) } 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 menu.push :documents, { :controller => 'documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural menu.push :wiki, { :controller => 'wiki', :action => 'show', :id => nil }, :param => :project_id, :if => Proc.new { |p| p.wiki && !p.wiki.new_record? }