mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 10:21:14 +00:00
Add additional markup to page_header_title to enable better styling (#21947).
Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15256 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a0a7e9d001
commit
93eda89d7f
@ -494,8 +494,13 @@ module ApplicationHelper
|
||||
end
|
||||
b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') }
|
||||
end
|
||||
b << h(@project)
|
||||
b.join(" \xc2\xbb ").html_safe
|
||||
b << content_tag(:span, h(@project), class: 'current-project')
|
||||
if b.size > 1
|
||||
separator = content_tag(:span, ' » '.html_safe, class: 'separator')
|
||||
path = safe_join(b[0..-2], separator) + separator
|
||||
b = [content_tag(:span, path.html_safe, class: 'breadcrumbs'), b[-1]]
|
||||
end
|
||||
safe_join b
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user