aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/admin/header.html')
-rw-r--r--templates/web/zurich/admin/header.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/templates/web/zurich/admin/header.html b/templates/web/zurich/admin/header.html
index 1d72deb0f..252f4c2d1 100644
--- a/templates/web/zurich/admin/header.html
+++ b/templates/web/zurich/admin/header.html
@@ -8,13 +8,15 @@ select { width: auto; }
</style>
<p><strong>[% loc('FixMyStreet admin:') %]</strong>
- <a href="/admin/summary">[% loc('Summary') %]</a> |
- <a href="/admin/bodies">[% loc('Bodies') %]</a> |
- <a href="/admin/reports">[% loc('Reports') %]</a> |
- <!-- <a href="timeline">Timeline</a> | -->
- <!-- <a href="questionnaire">Survey</a> | -->
- <a href="/admin/users">[% loc('Users') %]</a>
- <!-- <a href="flagged">Flagged</a> | -->
- <!-- <a href="stats">Stats</a> -->
+ <a href="/admin/summary">[% loc('Summary') %]</a>
+[% IF admin_type == 'dm' OR admin_type == 'super' %]
+ | <a href="/admin/bodies">[% loc('Bodies') %]</a>
+ | <a href="/admin/reports">[% loc('Reports') %]</a>
+ <!-- | <a href="timeline">Timeline</a> -->
+ <!-- | <a href="questionnaire">Survey</a> -->
+ | <a href="/admin/users">[% loc('Users') %]</a>
+ <!-- | <a href="flagged">Flagged</a> -->
+ <!-- | <a href="stats">Stats</a> -->
+[% END %]
<h1>[% title %]</h1>