|
|
@ -227,7 +227,7 @@ Redmine::MenuManager.map :top_menu do |menu| |
|
|
|
menu.push :my_page, { :controller => '/my', :action => 'page' }, :if => Proc.new { User.current.logged? } |
|
|
|
menu.push :my_page, { :controller => '/my', :action => 'page' }, :if => Proc.new { User.current.logged? } |
|
|
|
# projects menu will be added by Redmine::MenuManager::TopMenuHelper#render_projects_top_menu_node |
|
|
|
# projects menu will be added by Redmine::MenuManager::TopMenuHelper#render_projects_top_menu_node |
|
|
|
menu.push :administration, { :controller => '/admin', :action => 'projects' }, :if => Proc.new { User.current.admin? }, :last => true |
|
|
|
menu.push :administration, { :controller => '/admin', :action => 'projects' }, :if => Proc.new { User.current.admin? }, :last => true |
|
|
|
menu.push :help, Redmine::Info.help_url, :last => true, :caption => "?", :html => { :accesskey => Redmine::AccessKeys.key_for(:help) } |
|
|
|
menu.push :help, OpenProject::Info.help_url, :last => true, :caption => "?", :html => { :accesskey => Redmine::AccessKeys.key_for(:help) } |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
Redmine::MenuManager.map :account_menu do |menu| |
|
|
|
Redmine::MenuManager.map :account_menu do |menu| |
|
|
|