Difference between revisions of "Template:Main2018"

Line 90: Line 90:
 
});
 
});
 
 
 +
 +
 +
// if HQ_info exists, hide unless the user is an admin
 +
if ($("#HQ_info").length){
 +
 +
switch ( wgUserName) {
 +
case "Sifuentes anita": case "Vinoo": case "THaddock": case "Meagan": case "MariaB":
 +
$("#HQ_info").show();
 +
break;
 +
 +
default:
 +
$("#HQ_info").hide();
 +
break;
 +
}
 +
    }
 
 
 
});
 
});

Revision as of 15:59, 25 January 2018

Loading...