aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/user-form.html
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-09-16 09:31:38 +0100
committerDave Arter <davea@mysociety.org>2016-09-16 09:39:15 +0100
commite8fb7318f94f78f768700f72b2bb8e3434f108a2 (patch)
tree4aaaf5a942d82c0a17366a9bb89ed072a4723b45 /templates/web/base/admin/user-form.html
parentf2da71c3116f81c386aad164176108d341ac5ecc (diff)
[Zurich] Restore admin user edit functionality
- Zurich users don't need permission to access user_edit page - from_body can be set to any body by Zurich admin users, not just their own - Don't show the area field on user_edit form
Diffstat (limited to 'templates/web/base/admin/user-form.html')
-rw-r--r--templates/web/base/admin/user-form.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html
index 8a9ba5a77..38191e095 100644
--- a/templates/web/base/admin/user-form.html
+++ b/templates/web/base/admin/user-form.html
@@ -23,7 +23,7 @@
<li><label for="phone">[% loc('Phone:') %]</label>
<input type='text' id='phone' name='phone' value='[% user.phone | html %]'></li>
- [% IF c.user.is_superuser %]
+ [% IF c.user.is_superuser || c.cobrand.moniker == 'zurich' %]
<li>
<div class="admin-hint">
<p>
@@ -53,7 +53,7 @@
</li>
[% END %]
- [% IF areas %]
+ [% IF areas AND c.cobrand.moniker != 'zurich' %]
<li>
<div class="admin-hint">
<p>