diff options
author | Simon Rettberg | 2018-04-13 12:30:43 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-13 12:30:43 +0200 |
commit | 5014f09a5aa30b1c3aa1e35e67a183086a212052 (patch) | |
tree | c06f085e76de9a7a33fa16ae3252e38fa8b31863 /modules-available/permissionmanager/templates/rolestable.html | |
parent | [permissionmanager] Preselect all locations when adding new role (diff) | |
download | slx-admin-5014f09a5aa30b1c3aa1e35e67a183086a212052.tar.gz slx-admin-5014f09a5aa30b1c3aa1e35e67a183086a212052.tar.xz slx-admin-5014f09a5aa30b1c3aa1e35e67a183086a212052.zip |
[permissionmanager] Add role description field; install some default rules
Closes #3356
Diffstat (limited to 'modules-available/permissionmanager/templates/rolestable.html')
-rw-r--r-- | modules-available/permissionmanager/templates/rolestable.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/permissionmanager/templates/rolestable.html b/modules-available/permissionmanager/templates/rolestable.html index 9ba8d85c..d520db33 100644 --- a/modules-available/permissionmanager/templates/rolestable.html +++ b/modules-available/permissionmanager/templates/rolestable.html @@ -11,6 +11,7 @@ <thead> <tr> <th data-sort="string">{{lang_roles}}</th> + <th data-sort="string">{{lang_description}}</th> <th class="text-center slx-smallcol"> {{#perms.roles.edit.disabled}} {{lang_view}} @@ -27,8 +28,9 @@ {{#roles}} <tr> <td class="rolename">{{rolename}}</td> + <td class="text-muted"><table class="slx-ellipsis"><tr><td>{{roledescription}}</td></tr></table></td> <td class="text-center"> - <a class="btn btn-xs btn-primary" href="?do=permissionmanager&show=roleEditor&roleid={{roleid}}"><span class="glyphicon glyphicon-edit"></span></a> + <a class="btn btn-xs btn-primary" href="?do=permissionmanager&show=roleEditor&roleid={{roleid}}"><span class="glyphicon glyphicon-edit"></span></a> </td> <td class="text-center"> <button type="button" class="btn btn-xs btn-danger" data-toggle="modal" data-target="#deleteModal" onclick="deleteRole('{{roleid}}', '{{users}}')" {{perms.roles.edit.disabled}}> @@ -66,7 +68,7 @@ </form> <div class="text-right"> - <a href="?do=permissionmanager&show=roleEditor" class="btn btn-success {{perms.roles.edit.disabled}}"><span class="glyphicon glyphicon-plus"></span> {{lang_newRole}}</a> + <a href="?do=permissionmanager&show=roleEditor" class="btn btn-success {{perms.roles.edit.disabled}}"><span class="glyphicon glyphicon-plus"></span> {{lang_newRole}}</a> </div> <script> |