Line 477: | Line 477: | ||
if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line | ||
$("#team_name").html( wgPageName ); | $("#team_name").html( wgPageName ); | ||
+ | } | ||
+ | |||
+ | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name | ||
+ | $( ) ); | ||
} | } | ||
Revision as of 02:36, 24 September 2016