aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/header.html')
-rw-r--r--templates/web/default/header.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/web/default/header.html b/templates/web/default/header.html
index 52f066663..67a5fe631 100644
--- a/templates/web/default/header.html
+++ b/templates/web/default/header.html
@@ -16,6 +16,15 @@
[%- loc('Fix<span id="my">My</span>Street') %]
[%- IF NOT title AND NOT c.req.path %]</h1>[% ELSE %]</a></div>[% END %]
+ <ul id="meta">
+ [% IF c.user_exists %]
+ <li>[% tprintf(loc('Signed in as %s'), c.user.name || c.user.email) %]
+ <li><a href="/auth/logout">[% loc('Sign out') %]</a></li>
+ [% ELSE %]
+ <li>&nbsp;</li>
+ [% END %]
+ </ul>
+
<div id="wrapper"><div id="mysociety">
[% INCLUDE 'debug_header.html' %]