aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/barnet/header.html4
-rw-r--r--templates/web/bromley/header.html4
-rw-r--r--templates/web/oxfordshire/header.html6
-rw-r--r--templates/web/stevenage/header.html6
4 files changed, 8 insertions, 12 deletions
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html
index d7cc01f4b..7b296c208 100644
--- a/templates/web/barnet/header.html
+++ b/templates/web/barnet/header.html
@@ -64,14 +64,14 @@
<!-- googleon:all -->
</div>
<div id="content" class="withWidth fullWidth">
+ [% IF c.user_exists %]
<div id="user-meta">
- [% IF c.user_exists %]
<p>
[% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
<a href="/auth/sign_out">[% loc('sign out') %]</a>
</p>
- [% END %]
</div>
+ [% END %]
<h1 id="page-title">
<span>FixMyStreet</span>
diff --git a/templates/web/bromley/header.html b/templates/web/bromley/header.html
index 55304a280..7d7e21a39 100644
--- a/templates/web/bromley/header.html
+++ b/templates/web/bromley/header.html
@@ -93,14 +93,14 @@
</div>
</div>
+ [% IF c.user_exists %]
<div id="user-meta">
- [% IF c.user_exists %]
<p>
[% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
<a href="/auth/sign_out">[% loc('sign out') %]</a>
</p>
- [% END %]
</div>
+ [% END %]
<h1 class="main desk-only">Reporting a problem in Bromley&rsquo;s streets or parks</h1>
diff --git a/templates/web/oxfordshire/header.html b/templates/web/oxfordshire/header.html
index 5d4823325..e287b0ec8 100644
--- a/templates/web/oxfordshire/header.html
+++ b/templates/web/oxfordshire/header.html
@@ -101,16 +101,14 @@
</div>
</header>
+ [% IF c.user_exists %]
<div id="user-meta">
- [% IF c.user_exists %]
<p>
[% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
<a href="/auth/sign_out">[% loc('sign out') %]</a>
</p>
- [% ELSE %]
- <!-- <a href="/auth">[% loc('Sign in') %]</a> -->
- [% END %]
</div>
+ [% END %]
[% pre_container_extra %]
diff --git a/templates/web/stevenage/header.html b/templates/web/stevenage/header.html
index c60ddd18b..f53e12c6c 100644
--- a/templates/web/stevenage/header.html
+++ b/templates/web/stevenage/header.html
@@ -85,16 +85,14 @@
</div>
</header>
+ [% IF c.user_exists %]
<div id="user-meta">
- [% IF c.user_exists %]
<p>
[% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
<a href="/auth/sign_out">[% loc('sign out') %]</a>
</p>
- [% ELSE %]
- <!-- <a href="/auth">[% loc('Sign in') %]</a> -->
- [% END %]
</div>
+ [% END %]
[% pre_container_extra %]