diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-03-12 14:19:50 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-03-12 14:19:50 +0000 |
commit | 308c832e1dc7884ff851a78e27fb47155dffc35b (patch) | |
tree | 07651fab6ba974d6dd60e667cb8eb9d1ecfdd293 | |
parent | 62b6d1a2c4b3fa57fe63b31dcc939312fa34ee65 (diff) |
Don't show 'division' assignment to Zurich superuser, pointless.
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 464fbe9ee..0f53e050c 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -102,7 +102,7 @@ [%- NEXT UNLESS body.parent.id == c.user.from_body.id %] <option value="[% body.id %]"[% IF body.id == problem.bodies_str %] selected[% END %]>[% body.name %]</option> [% END %] - [% IF list %] + [% IF admin_type != 'super' AND list %] <li class="assignation"> <label for="body_subdivision">[% loc('Assign to subdivision:') %]</label> <select name="body_subdivision" id="body_subdivision"> @@ -159,7 +159,7 @@ $(function(){ [%- NEXT UNLESS body.parent.id == c.user.from_body.id %] <option value="[% body.id %]">[% body.name %]</option> [% END %] - [% IF list %] + [% IF admin_type != 'super' AND list %] <li class="assignation"> <label for="body_subdivision">[% loc('Assign to subdivision:') %]</label> <select name="body_subdivision" id="body_subdivision"> |