diff options
author | Chris Mytton <self@hecticjeff.net> | 2013-09-03 15:45:45 +0100 |
---|---|---|
committer | Chris Mytton <self@hecticjeff.net> | 2013-09-03 15:46:17 +0100 |
commit | 85e407a413bdc71e21e25ccc206df9a3d666fa8f (patch) | |
tree | 1b4e7fbdabdfed190ab22ab1db2c02650a9bbc46 | |
parent | 924ec5ee474b731caaceb384034f478277c6a21c (diff) |
[Zurich] Only link to edit body for super user
-rw-r--r-- | templates/web/default/admin/bodies.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/default/admin/bodies.html b/templates/web/default/admin/bodies.html index a1555cac9..5840cde05 100644 --- a/templates/web/default/admin/bodies.html +++ b/templates/web/default/admin/bodies.html @@ -19,7 +19,11 @@ [% IF c.cobrand.moniker == 'zurich' %] [% FILTER repeat(4*body.api_key) %] [% END %] [% END %] + [% IF c.admin_type == 'super' %] <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 %] |