aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/stevenage
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 21:45:48 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 21:45:48 +0100
commita18ac5c65d3ee4fa6220417ab1644bdba938a19d (patch)
tree0cfebe31168ccf2b6bcbe03f5aabf8d86d7cdceb /templates/web/stevenage
parent35e58052f4f1250a3c1bb40d126e36fcc735d209 (diff)
parent90d6c6ed2ce1f4535377b14ce6e93e3849a2f1a7 (diff)
Merge branch '1350-stop-map-hiding-behind-header'
Diffstat (limited to 'templates/web/stevenage')
-rw-r--r--templates/web/stevenage/footer.html2
-rw-r--r--templates/web/stevenage/header.html11
2 files changed, 1 insertions, 12 deletions
diff --git a/templates/web/stevenage/footer.html b/templates/web/stevenage/footer.html
index b81a949a1..3fcd9b5a1 100644
--- a/templates/web/stevenage/footer.html
+++ b/templates/web/stevenage/footer.html
@@ -94,7 +94,7 @@
<li><[% IF c.req.uri.path == '/' %]span[% ELSE %]a href="/"[% END %] class="report-a-problem-btn"
>[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/my' %]span[% ELSE %]a href="/my"[% END
- %]>[% loc("Your reports") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
+ %]>[% c.user_exists ? loc("Your account") : loc("Sign in") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/reports/Stevenage' %]span[% ELSE %]a href="/reports/Stevenage"[% END
%]>[% loc("All reports") %]</[% c.req.uri.path == '/reports' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/alert' %]span[% ELSE %]a href="/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END
diff --git a/templates/web/stevenage/header.html b/templates/web/stevenage/header.html
index ffcc9ec86..fb6f2ae5b 100644
--- a/templates/web/stevenage/header.html
+++ b/templates/web/stevenage/header.html
@@ -19,7 +19,6 @@
<![endif]-->
<script src="[% version('/js/modernizr.custom.js') %]" charset="utf-8"></script>
- <script src="[% version('/cobrands/fixmystreet/position_map.js') %]" charset="utf-8"></script>
[% INCLUDE 'common_header_tags.html' %]
[% extra_js %]
@@ -36,16 +35,6 @@
<a href="#main-nav" id="nav-link">Main Navigation</a>
</div>
</header>
-
- [% IF c.user_exists %]
- <div id="user-meta">
- <p>
- [% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
- <a href="/auth/sign_out">[% loc('sign out') %]</a>
- </p>
- </div>
- [% END %]
-
[% pre_container_extra %]
<div class="container">