Provide ability for admins to manage user organisation membership & admin rights
- Required overwriting a bunch of base code to slot in the handling - Admins are shown with yellow text in their organisation label
This commit is contained in:
13
assets/avsdev/js/pages/user.js
Normal file
13
assets/avsdev/js/pages/user.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Page-specific Javascript file. Should generally be included as a separate asset bundle in your page template.
|
||||
* example: {{ assets.js('js/pages/sign-in-or-register') | raw }}
|
||||
*
|
||||
* This script depends on uf-table.js, moment.js, handlebars-helpers.js
|
||||
*
|
||||
* Target page: /users/u/{user_name}
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
// Control buttons
|
||||
bindUserButtonsExtra($("#view-user"), { delete_redirect: page.delete_redirect });
|
||||
});
|
||||
Reference in New Issue
Block a user