|
|
@ -17,7 +17,7 @@ module Redmine::MenuManager::TopMenuHelper |
|
|
|
|
|
|
|
|
|
|
|
return "" if User.current.number_of_known_projects.zero? |
|
|
|
return "" if User.current.number_of_known_projects.zero? |
|
|
|
|
|
|
|
|
|
|
|
heading = link_to l(:label_project_plural), { :controller => 'projects', |
|
|
|
heading = link_to l(:label_project_plural), { :controller => '/projects', |
|
|
|
:action => 'index' }, |
|
|
|
:action => 'index' }, |
|
|
|
:title => l(:label_project_plural) |
|
|
|
:title => l(:label_project_plural) |
|
|
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ module Redmine::MenuManager::TopMenuHelper |
|
|
|
render_drop_down_menu_node heading do |
|
|
|
render_drop_down_menu_node heading do |
|
|
|
content_tag :ul, :style => "display:none" do |
|
|
|
content_tag :ul, :style => "display:none" do |
|
|
|
ret = content_tag :li do |
|
|
|
ret = content_tag :li do |
|
|
|
link_to l(:label_project_view_all), :controller => 'projects', |
|
|
|
link_to l(:label_project_view_all), :controller => '/projects', |
|
|
|
:action => 'index' |
|
|
|
:action => 'index' |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ module Redmine::MenuManager::TopMenuHelper |
|
|
|
def render_user_top_menu_node(items = menu_items_for(:account_menu)) |
|
|
|
def render_user_top_menu_node(items = menu_items_for(:account_menu)) |
|
|
|
unless User.current.logged? |
|
|
|
unless User.current.logged? |
|
|
|
render_drop_down_menu_node(link_to(l(:label_login), |
|
|
|
render_drop_down_menu_node(link_to(l(:label_login), |
|
|
|
{ :controller => 'account', |
|
|
|
{ :controller => '/account', |
|
|
|
:action => 'login' }, |
|
|
|
:action => 'login' }, |
|
|
|
:class => 'login', |
|
|
|
:class => 'login', |
|
|
|
:title => l(:label_login)), |
|
|
|
:title => l(:label_login)), |
|
|
|