|
|
|
@ -278,7 +278,8 @@ end |
|
|
|
|
|
|
|
|
|
Redmine::MenuManager.map :project_menu do |menu| |
|
|
|
|
menu.push :overview, { :controller => '/projects', :action => 'show' } |
|
|
|
|
menu.push :activity, { :controller => '/activities', :action => 'index' }, :param => :project_id |
|
|
|
|
menu.push :activity, { :controller => '/activities', :action => 'index' }, :param => :project_id, |
|
|
|
|
:if => Proc.new { |p| p.module_enabled?("activity") } |
|
|
|
|
menu.push :roadmap, { :controller => '/versions', :action => 'index' }, :param => :project_id, |
|
|
|
|
:if => Proc.new { |p| p.shared_versions.any? } |
|
|
|
|
|
|
|
|
|