##// END OF EJS Templates
Moved the project name after the item in the html title (#9593)....
Jean-Philippe Lang -
r7722:bf18ee107d08
parent child
Show More
@@ -437,10 +437,9 module ApplicationHelper
437
437
438 def html_title(*args)
438 def html_title(*args)
439 if args.empty?
439 if args.empty?
440 title = []
440 title = @html_title || []
441 title << @project.name if @project
441 title << @project.name if @project
442 title += @html_title if @html_title
442 title << Setting.app_title unless Setting.app_title == title.last
443 title << Setting.app_title
444 title.select {|t| !t.blank? }.join(' - ')
443 title.select {|t| !t.blank? }.join(' - ')
445 else
444 else
446 @html_title ||= []
445 @html_title ||= []
@@ -480,6 +480,8 class IssuesControllerTest < ActionController::TestCase
480 :descendant => { :tag => 'fieldset',
480 :descendant => { :tag => 'fieldset',
481 :child => { :tag => 'legend',
481 :child => { :tag => 'legend',
482 :content => /Notes/ } }
482 :content => /Notes/ } }
483 assert_tag :tag => 'title',
484 :content => "Bug #1: Can't print recipes - eCookbook - Redmine"
483 end
485 end
484
486
485 def test_show_by_manager
487 def test_show_by_manager
General Comments 0
You need to be logged in to leave comments. Login now