aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-09-06 08:15:17 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-06 08:15:17 +0100
commitaf5932eb9fd26d148efb092fcabb2c63dfbde795 (patch)
tree72e849108d38c1ca7f347d31113c4021ee8f6145
parent5993cf3aa36e3eab33ca438d8a22785e291583ef (diff)
only remove body links for Zurich (in admin)
-rw-r--r--templates/web/default/admin/bodies.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/web/default/admin/bodies.html b/templates/web/default/admin/bodies.html
index 2caa412e9..fabaf8923 100644
--- a/templates/web/default/admin/bodies.html
+++ b/templates/web/default/admin/bodies.html
@@ -27,13 +27,13 @@
<td>
[% IF c.cobrand.moniker == 'zurich' %]
[% FILTER repeat(4*body.api_key) %]&nbsp;[% END %]
- [% END %]
- [% IF admin_type == 'super' %]
+ [% IF admin_type == 'super' %]
+ <a href="[% c.uri_for( 'body', id ) %]">[% body.name %]</a>
+ [% ELSE %]
+ [% body.name %]
+ [% END %]
+ [% ELSE %] [%# not Zurich: all bodies should be links %]
<a href="[% c.uri_for( 'body', id ) %]">[% body.name %]</a>
- [% ELSE %]
- [% body.name %]
- [% END %]
- [% IF c.cobrand.moniker != 'zurich' %]
[%- ', ' _ body.parent.name IF body.parent -%]
[% END %]
</td>