aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-10-09 11:05:57 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-10-09 11:05:57 +0100
commitb39787e3e211bddc4c765a6d2ab3a2269565984d (patch)
treed9b498a0c9baad01f01a73008fedd8faa5c8f52b /templates
parentc752ce0ce1b466429c68ec60a4f74d74d3d4c939 (diff)
parentce84719c62e423dd14d8c9186577710f3fa7678d (diff)
Merge remote-tracking branch 'origin/issues/739-move-diligency-table'
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/bodies.html11
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/web/base/admin/bodies.html b/templates/web/base/admin/bodies.html
index 02208898d..ad0594146 100644
--- a/templates/web/base/admin/bodies.html
+++ b/templates/web/base/admin/bodies.html
@@ -1,7 +1,5 @@
[% INCLUDE 'admin/header.html' title=loc('Bodies') -%]
-[% INCLUDE 'admin/edit-league.html' %]
-
[% IF bodies.size == 0 %]
<p class="fms-admin-info">
[% loc('Currently no bodies have been created.') %]
@@ -64,16 +62,13 @@
</table>
[% END %]
-[% IF c.cobrand.moniker == 'zurich' %]
- [% IF admin_type == 'super' %]
- <h2>[% loc('Add body') %]</h2>
- [% INCLUDE 'admin/body-form.html', body='' %]
- [% END %]
-[% ELSE %]
+[% IF c.cobrand.moniker != 'zurich' OR admin_type == 'super' %]
<div class="admin-box">
<h2>[% loc('Add body') %]</h2>
[% INCLUDE 'admin/body-form.html', body='' %]
</div>
[% END %]
+[% INCLUDE 'admin/edit-league.html' %]
+
[% INCLUDE 'admin/footer.html' %]