diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-24 16:35:56 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-24 16:35:56 +0000 |
commit | 893458844bc54aefefcd8fb6b5aaabf7fa82d7de (patch) | |
tree | b31400a62d27d5e9cb686f1767471f4670febff6 | |
parent | 04270cd7ad59d6896e7eb5f2e00c5546aba17633 (diff) |
Detect division better, in cases where it has no subdivision.
-rw-r--r-- | templates/web/zurich/admin/body.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/zurich/admin/body.html b/templates/web/zurich/admin/body.html index dd1b0b844..764ad9bd8 100644 --- a/templates/web/zurich/admin/body.html +++ b/templates/web/zurich/admin/body.html @@ -7,7 +7,7 @@ </p> [% END %] -[% IF admin_type == 'super' AND body.parent AND body.bodies # A division %] +[% IF admin_type == 'super' AND body.parent AND NOT body.parent.parent # A division %] <table cellspacing="0" cellpadding="2" border="1"> <tr> <th>[% loc('Category') %]</th> |