[#704] current position on main menu / project menu

(using the new menu model)
pull/41/head
Romano Licker 13 years ago
parent 2e3647ba7d
commit 9674fa4257
  1. 3
      lib/redmine/menu_manager/menu_helper.rb

@ -90,7 +90,8 @@ module Redmine::MenuManager::MenuHelper
end
def render_single_menu_node(item, caption, url, selected)
link_to(h(caption), url, item.html_options(:selected => selected))
position_span = selected ? "<span class = 'hidden-for-sighted'>#{l(:description_current_position)}</span>" : ""
position_span + link_to(h(caption), url, item.html_options(:selected => selected))
end
def render_unattached_menu_item(menu_item, project)

Loading…
Cancel
Save