Hey there,
I am able to hide certain Quotas for all users, but I would like to hide certain Quotas depending on the name used when logged into the backend.
Is this possible?
Here is the Code how I changed the ssi_admin_javascript9_12_1 file:
$('td.quota_name_cell').each(function () {
if (($(this).text().includes('XYZ')) && ($("#sign_in_username").text().includes('user')){
$(this).parent().css("display","none");
}
})
The Code workes compleatly fine when i dont add this part "&& ($("#sign_in_username").text().includes('user')" in the if-condition.
What am I doing wrong?
Best regards!