aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-10-07 14:53:10 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-10-07 14:53:10 +0100
commitce84719c62e423dd14d8c9186577710f3fa7678d (patch)
tree8cb28169d72ed67716de979a3915e9f2eecba3b8 /templates
parenta1ae8fd11dd82e48d7d1409cc0edf55eb57ed04d (diff)
Move diligency table to bottom of page.
Not that useful in most cases, only if you wanted some admin competition on category entering/checking. Fixes #739.
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 8bf7954f3..557205e4f 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.') %]
@@ -60,16 +58,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' %]