Commit 18668a72 authored by jplang's avatar jplang

Moved the project name after the item in the html title (#9593).

git-svn-id: https://svn.redmine.org/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7cd8e86a
......@@ -437,10 +437,9 @@ module ApplicationHelper
def html_title(*args)
if args.empty?
title = []
title = @html_title || []
title << @project.name if @project
title += @html_title if @html_title
title << Setting.app_title
title << Setting.app_title unless Setting.app_title == title.last
title.select {|t| !t.blank? }.join(' - ')
else
@html_title ||= []
......
......@@ -480,6 +480,8 @@ class IssuesControllerTest < ActionController::TestCase
:descendant => { :tag => 'fieldset',
:child => { :tag => 'legend',
:content => /Notes/ } }
assert_tag :tag => 'title',
:content => "Bug #1: Can't print recipes - eCookbook - Redmine"
end
def test_show_by_manager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment