From 736984870d4b1eaf645d2ad3d23058d9abbf4333 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 17 Jan 2018 17:50:26 +0000 Subject: Add missing labels on admin user form. --- templates/web/base/admin/user-form.html | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html index 9a2c0b9e2..f04663727 100644 --- a/templates/web/base/admin/user-form.html +++ b/templates/web/base/admin/user-form.html @@ -51,23 +51,27 @@ %]

- [% loc('Body:') %] [% FOR body IN bodies %] [% END %] - [% ELSE %] -
  • + [% ELSE %] +
  • [% loc("Staff users have permission to log in to the admin.") %]

    - [% loc('Staff:') %] +
  • - [% END %] + [% END %] [% IF areas AND c.cobrand.moniker != 'zurich' %]
  • @@ -79,7 +83,7 @@ %]

    - [% loc('Area:') %] + +
  • [% UNLESS user.is_superuser %] @@ -126,8 +133,8 @@

    [% IF c.user.is_superuser %] - [% loc('Trusted by bodies:') %]
    - [% FOR body IN bodies %] [% END %] @@ -148,7 +155,10 @@ [% loc("Superusers have permission to perform all actions within the admin.") %]

    - [% loc('Superuser:') %] + [% END %] -- cgit v1.2.3