aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/header.html')
-rw-r--r--templates/web/zurich/header.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/templates/web/zurich/header.html b/templates/web/zurich/header.html
index 347bf6b70..c9343d8d6 100644
--- a/templates/web/zurich/header.html
+++ b/templates/web/zurich/header.html
@@ -41,11 +41,20 @@
[% pagename = c.req.uri.path %]
[% pagename = pagename.replace('/admin/?(\w*).*', '$1') %]
+ [% IF admin_type == 'super' %]
<li [% IF pagename == 'summary' OR pagename == '' %]class="current"[% END %]>
<a href="/admin/summary">[% loc('Summary') %]</a>
</li>
+ [% ELSE %]
+ <li [% IF NOT c.get_param('internal') AND (pagename == 'summary' OR pagename == '') %]class="current"[% END %]>
+ <a href="/admin/summary">Öffentliche</a>
+ </li>
+ <li [% IF c.get_param('internal') AND (pagename == 'summary' OR pagename == '') %]class="current"[% END %]>
+ <a href="/admin/summary?internal=1">Interne</a>
+ </li>
+ [% END %]
<li [% IF pagename == 'reports' OR pagename == 'report_edit' %]class="current"[% END %]>
- <a href="/admin/reports">[% loc('Reports') %]</a>
+ <a href="/admin/reports">[% loc('All') %]</a>
</li>
[% IF admin_type == 'dm' OR admin_type == 'super' %]
<li [% IF pagename == 'bodies' OR pagename == 'body' %]class="current"[% END %]>
@@ -66,7 +75,7 @@
</li>
[% END %]
<li class="search-box">
- <form method="get" action="[% c.uri_for('reports') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
+ <form method="get" action="[% c.uri_for_action('/admin/reports/index') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
<input type="text" name="search" size="20" id="search" placeholder="[% loc('Search reports') %]">
</form>