diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-07-30 16:41:18 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-07-30 17:42:14 +0100 |
commit | 749df1cfe907190632b09e434f9411cf08b5b2cf (patch) | |
tree | f90e3a2e8b1a828ee97f50cf213a0555914fd16e /templates/web/base/admin/user-form.html | |
parent | 26429aa50b9a915de3a9b3042420e1525f55b164 (diff) |
Mark users who have moderate permission.
Diffstat (limited to 'templates/web/base/admin/user-form.html')
-rw-r--r-- | templates/web/base/admin/user-form.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html index 4a57b05a0..3956e8533 100644 --- a/templates/web/base/admin/user-form.html +++ b/templates/web/base/admin/user-form.html @@ -34,8 +34,9 @@ [% FOR body IN bodies %] <option value="[% body.id %]"[% ' selected' IF body.id == user.from_body.id %]>[% body.name %]</option> [% END %] - </li> </select> + [% IF user.from_body AND user.has_permission_to('moderate', user.from_body.id) %]*[% END %] + </li> [% IF c.cobrand.moniker != 'zurich' %] <li> <div class="admin-hint"> |