diff options
author | Chris Mytton <self@hecticjeff.net> | 2013-09-04 12:48:08 +0100 |
---|---|---|
committer | Chris Mytton <self@hecticjeff.net> | 2013-09-04 12:48:08 +0100 |
commit | f9a90b2ec49c3275a69eecc8c80d577485f8dd01 (patch) | |
tree | a4c37b1623da9253f1597344b944aa8c2ee1d6ae | |
parent | 17e8f2fee732202a7412e4d266408ba3e73b16c2 (diff) |
[Zurich] Only superusers can see add body form
-rw-r--r-- | templates/web/default/admin/bodies.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/web/default/admin/bodies.html b/templates/web/default/admin/bodies.html index 5840cde05..08747b61b 100644 --- a/templates/web/default/admin/bodies.html +++ b/templates/web/default/admin/bodies.html @@ -48,7 +48,14 @@ [%- END %] </table> -<h2>[% loc('Add body') %]</h2> -[% INCLUDE 'admin/body-form.html', body='' %] +[% IF c.cobrand.moniker == 'zurich' %] + [% IF c.admin_type == 'super' %] + <h2>[% loc('Add body') %]</h2> + [% INCLUDE 'admin/body-form.html', body='' %] + [% END %] +[% ELSE %] + <h2>[% loc('Add body') %]</h2> + [% INCLUDE 'admin/body-form.html', body='' %] +[% END %] [% INCLUDE 'admin/footer.html' %] |