diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-09-24 21:33:47 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-09-24 22:06:41 +0100 |
commit | a43264a12e4339c7cda589368f9b493048eaf7fd (patch) | |
tree | 4c0dbf6c2fa918a4bb346dc6eb31722bdd3eec7d /templates | |
parent | 5b0500ee3a0f9660615999d568d2f7eec9cdc212 (diff) |
Various fixes to cobrands post zero content margin
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/barnet/header.html | 4 | ||||
-rw-r--r-- | templates/web/bromley/header.html | 4 | ||||
-rw-r--r-- | templates/web/oxfordshire/header.html | 6 | ||||
-rw-r--r-- | templates/web/stevenage/header.html | 6 |
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’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 %] |