Difference between revisions of "Template:Michigan Software"

Line 233: Line 233:
 
}
 
}
  
 +
/*
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );  
+
$("#team_name").html(wgPageName.substring( 5, wgPageName.length ) );  
 
}
 
}
  
Line 244: Line 245:
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
}
 +
*/
  
  

Revision as of 20:49, 11 August 2016