aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/oxfordshire/header.html10
-rw-r--r--web/cobrands/oxfordshire/layout.scss3
-rw-r--r--web/cobrands/oxfordshire/oxfordshire.scss5
3 files changed, 12 insertions, 6 deletions
diff --git a/templates/web/oxfordshire/header.html b/templates/web/oxfordshire/header.html
index ead6858bf..6c338452a 100644
--- a/templates/web/oxfordshire/header.html
+++ b/templates/web/oxfordshire/header.html
@@ -40,7 +40,15 @@
<a href="http://www.oxfordshire.gov.uk/" title="">Oxfordshire County Council home</a>|<a href="/" title="">FixMyStreet</a>
</span>
<div style="clear:both"></div>
- <span class="header">FixMyStreet</span>
+ <span class="header"><a href="/">FixMyStreet</a></span>
+ <div class="oxford-user">
+ <p>
+ [% IF c.user_exists %]
+ [% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
+ <a href="/auth/sign_out">[% loc('sign out') %]</a>
+ [% END %]
+ </p>
+ </div>
</div> <!-- end of oxford header -->
<div id="oxford-main-menu" class="desk-only">
<ul class="tabs">
diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss
index 2c02ce31e..da4fbc150 100644
--- a/web/cobrands/oxfordshire/layout.scss
+++ b/web/cobrands/oxfordshire/layout.scss
@@ -24,7 +24,8 @@ body {
}
// Currently hide the nav-wrapper, because it's in going into Oxfordshire's own nav
-.nav-wrapper {
+// likewise with user-meta
+.nav-wrapper, #user-meta {
display: none;
}
diff --git a/web/cobrands/oxfordshire/oxfordshire.scss b/web/cobrands/oxfordshire/oxfordshire.scss
index 3efb6fbdb..0429a622b 100644
--- a/web/cobrands/oxfordshire/oxfordshire.scss
+++ b/web/cobrands/oxfordshire/oxfordshire.scss
@@ -55,9 +55,7 @@ body {
}
}
-
- /*
- .sign-in {
+ .oxford-user {
float: right;
p {
padding: 0.25em;
@@ -67,7 +65,6 @@ body {
}
}
}
- */
}