@@ -98,8 +98,8 Redmine::MenuManager.map :top_menu do |menu| | |||||
98 | menu.push :home, :home_path, :html => { :class => 'home' } |
|
98 | menu.push :home, :home_path, :html => { :class => 'home' } | |
99 | menu.push :my_page, { :controller => 'my', :action => 'page' }, :html => { :class => 'mypage' }, :if => Proc.new { User.current.logged? } |
|
99 | menu.push :my_page, { :controller => 'my', :action => 'page' }, :html => { :class => 'mypage' }, :if => Proc.new { User.current.logged? } | |
100 | menu.push :projects, { :controller => 'projects', :action => 'index' }, :caption => :label_project_plural, :html => { :class => 'projects' } |
|
100 | menu.push :projects, { :controller => 'projects', :action => 'index' }, :caption => :label_project_plural, :html => { :class => 'projects' } | |
101 | menu.push :administration, { :controller => 'admin', :action => 'index' }, :html => { :class => 'admin' }, :if => Proc.new { User.current.admin? } |
|
101 | menu.push :administration, { :controller => 'admin', :action => 'index' }, :html => { :class => 'admin' }, :if => Proc.new { User.current.admin? }, :last => true | |
102 | menu.push :help, Redmine::Info.help_url, :html => { :class => 'help' } |
|
102 | menu.push :help, Redmine::Info.help_url, :html => { :class => 'help' }, :last => true | |
103 | end |
|
103 | end | |
104 |
|
104 | |||
105 | Redmine::MenuManager.map :account_menu do |menu| |
|
105 | Redmine::MenuManager.map :account_menu do |menu| |
General Comments 0
You need to be logged in to leave comments.
Login now