i18n: staff/student toggle link

This commit is contained in:
Felipe Montoya
2013-09-12 15:54:38 -05:00
parent a5fd04a95d
commit c6f4c8b2b8

View File

@@ -47,9 +47,9 @@ masq = (function(){
var el = $('#staffstatus');
var setstat = function(status){
if (status=='student'){
el.html('<font color="green">Student view</font>');
el.html('<font color="green">${_("Student view")}</font>');
}else{
el.html('<font color="red">Staff view</font>');
el.html('<font color="red">${_("Staff view")}</font>');
}
}
setstat('${masquerade}');