aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-09-05 10:54:53 +0100
committerChris Mytton <self@hecticjeff.net>2013-09-05 10:54:53 +0100
commit7ce7a901c8fc53051f656755675bd5e936cb65c0 (patch)
tree641533a6b3db1f6e55d5b57fe437dcf960013bad
parent84de2f1d14530f00f5f5784d93fb9d691a6d39d1 (diff)
Be consistent with references in templates
-rw-r--r--templates/web/default/admin/bodies.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/admin/bodies.html b/templates/web/default/admin/bodies.html
index 38463aa60..e0cf013d8 100644
--- a/templates/web/default/admin/bodies.html
+++ b/templates/web/default/admin/bodies.html
@@ -19,7 +19,7 @@
[% IF c.cobrand.moniker == 'zurich' %]
[% FILTER repeat(4*body.api_key) %]&nbsp;[% END %]
[% END %]
- [% IF c.admin_type == 'super' %]
+ [% IF admin_type == 'super' %]
<a href="[% c.uri_for( 'body', id ) %]">[% body.name %]</a>
[% ELSE %]
[% body.name %]
@@ -48,7 +48,7 @@
[%- END %]
</table>
-[% IF cobrand.moniker == 'zurich' %]
+[% IF c.cobrand.moniker == 'zurich' %]
[% IF admin_type == 'super' %]
<h2>[% loc('Add body') %]</h2>
[% INCLUDE 'admin/body-form.html', body='' %]