aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/stevenage
diff options
context:
space:
mode:
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">