Apply admin site name and program name to visible header branding
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,7 @@ async function load(){
|
||||
const c=await cr.json(); const s=await sr.json();
|
||||
if(!sr.ok)throw new Error(s.error||'No sponsor assigned');
|
||||
currentSponsor=s.sponsor;
|
||||
if(c.siteName){document.title=`Get Started | ${c.siteName}`;const bn=document.getElementById('brandName');if(bn)bn.textContent=c.siteName}
|
||||
document.getElementById('sponsorId').textContent=`ID ${currentSponsor.id}`;
|
||||
document.getElementById('sponsorIdInline').textContent=currentSponsor.id;
|
||||
document.getElementById('sponsorName').textContent=currentSponsor.name||'Current Crypto Team Build placement';
|
||||
|
||||
Reference in New Issue
Block a user