diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-10-09 11:05:57 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-10-09 11:05:57 +0100 |
commit | b39787e3e211bddc4c765a6d2ab3a2269565984d (patch) | |
tree | d9b498a0c9baad01f01a73008fedd8faa5c8f52b /templates | |
parent | c752ce0ce1b466429c68ec60a4f74d74d3d4c939 (diff) | |
parent | ce84719c62e423dd14d8c9186577710f3fa7678d (diff) |
Merge remote-tracking branch 'origin/issues/739-move-diligency-table'
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/bodies.html | 11 |
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' %] |