diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/zurich/admin/problem_row.html | 3 | ||||
-rw-r--r-- | templates/web/zurich/admin/reports/index.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/header.html | 11 |
3 files changed, 13 insertions, 3 deletions
diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html index 502a7bc39..a138339e6 100644 --- a/templates/web/zurich/admin/problem_row.html +++ b/templates/web/zurich/admin/problem_row.html @@ -21,7 +21,8 @@ <td>[% prettify_state(problem.state) %] [% IF problem.state == 'feedback pending'; SET cs=problem.get_extra_metadata('closure_status'); - IF cs %] ([% prettify_state(cs) %]) [% END; END %]</td> + IF cs %] ([% prettify_state(cs) %]) [% END; END %] + [% IF problem.non_public %]<br><i>Interne Meldung</i>[% END %]</td> [% IF include_subdiv %] <td> diff --git a/templates/web/zurich/admin/reports/index.html b/templates/web/zurich/admin/reports/index.html index ecb7c9519..e2790309b 100644 --- a/templates/web/zurich/admin/reports/index.html +++ b/templates/web/zurich/admin/reports/index.html @@ -1,4 +1,4 @@ -[% PROCESS 'admin/header.html' title=loc('Search Reports') %] +[% PROCESS 'admin/header.html' title=loc('All Reports') %] [% PROCESS 'admin/report_blocks.html' %] <form method="get" action="[% c.uri_for_action('admin/reports/index') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> diff --git a/templates/web/zurich/header.html b/templates/web/zurich/header.html index 49901ebb9..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 %]> |