Added ability to create more users from CP

This commit is contained in:
Pinga 2024-11-26 16:07:14 +02:00
parent 3c86dc19ad
commit 63b544c915
8 changed files with 345 additions and 6 deletions

View file

@ -19,13 +19,15 @@
}
return "";
}
function roleLabelFormatter(cell) {
var value = cell.getValue();
if (value === 0) {
return '<span class="status status-purple">Administrator</span>';
} else if (value === 4) {
return '<span class="status status-indigo">Registrar</span>';
} else if (value === 6) {
return '<span class="status status-azure">Registrar Assistant</span>';
}
return value; // If the value is neither 0 nor 4, return it as is
}