mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-05 01:01:30 +02:00
Added ability to create more users from CP
This commit is contained in:
parent
3c86dc19ad
commit
63b544c915
8 changed files with 345 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue