diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-08 12:30:37 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-09 16:31:20 +0100 |
commit | 5f7b18c48999f171eed51653a1a25e51fe200587 (patch) | |
tree | d948512515210c48a665220cd7731c73f5584484 | |
parent | 712e156776f9761665d2b4ace591a52d426dc088 (diff) |
Improve look of permissions options in user admin.
-rw-r--r-- | templates/web/base/admin/user-form.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html index b05f15355..8a9ba5a77 100644 --- a/templates/web/base/admin/user-form.html +++ b/templates/web/base/admin/user-form.html @@ -107,22 +107,24 @@ [% loc("Users can perform the following actions within their assigned body or area.") %] </p> </div> - [% loc('Permissions:') %] - </li> + <p>[% loc('Permissions:') %]</p> + <ul> [% FOREACH group IN available_permissions.pairs %] <li> [% group.key %] - <ul> + <ul class="no-bullets"> [% FOREACH permission IN group.value %] <li> - <label> + <label class="inline"> <input type="checkbox" id="perms_[% permission.key %]" name="permissions[[% permission.key %]]" [% "checked" IF user.has_body_permission_to(permission.key) %]> [% permission.value %] </label> </li> [% END %] </ul> + </li> [% END %] + </ul> [% END %] [% END %] </ul> |