aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-18 12:59:27 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-18 12:59:27 +0000
commit8e453215c282004e2ee5d182260aaf14dd08f9c3 (patch)
tree8de0c236d884f437eccb86280af3eeace6675c7b
parentaa82d06450bd3e807edd03c2d7b546bb8e187fd8 (diff)
Add Users link for Zurich superusers to admin nav bar, fix END placement.
-rw-r--r--templates/web/zurich/admin/header.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/web/zurich/admin/header.html b/templates/web/zurich/admin/header.html
index 7e2337e6d..580f04fcf 100644
--- a/templates/web/zurich/admin/header.html
+++ b/templates/web/zurich/admin/header.html
@@ -27,13 +27,19 @@ select { width: auto; }
<li [% IF pagename == 'summary' OR pagename == '' %]class="current"[% END %]>
<a href="/admin/summary">[% loc('Summary') %]</a>
</li>
+ <li [% IF pagename == 'reports' %]class="current"[% END %]>
+ <a href="/admin/reports">[% loc('Reports') %]</a>
+ </li>
[% IF admin_type == 'dm' OR admin_type == 'super' %]
<li [% IF pagename == 'bodies' %]class="current"[% END %]>
<a href="/admin/bodies">[% loc('Bodies') %]</a>
</li>
- <li [% IF pagename == 'reports' %]class="current"[% END %]>
- <a href="/admin/reports">[% loc('Reports') %]</a>
+ [% END %]
+ [% IF admin_type == 'super' %]
+ <li [% IF pagename == 'users' %]class="current"[% END %]>
+ <a href="/admin/users">[% loc('Users') %]</a>
</li>
+ [% END %]
<li class="search-box">
<form method="get" action="[% c.uri_for('reports') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
<input type="text" name="search" size="20" id="search" placeholder="[% loc('Search reports') %]">
@@ -43,9 +49,7 @@ select { width: auto; }
</div>
<!-- | <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 style="clear:both;">[% title %]</h1>