diff options
-rw-r--r-- | templates/web/lichfield/footer.html | 17 | ||||
-rw-r--r-- | templates/web/lichfield/header.html | 12 |
2 files changed, 22 insertions, 7 deletions
diff --git a/templates/web/lichfield/footer.html b/templates/web/lichfield/footer.html index 326bf917f..2a0fee889 100644 --- a/templates/web/lichfield/footer.html +++ b/templates/web/lichfield/footer.html @@ -29,13 +29,18 @@ <ul id="column_nav"> <li class="column_widget"> - <h2>Navigation</h2> + <h2>FixMyStreet</h2> <ul> - <li class="section">[% c.req.uri.path == '/' ? '<strong>Report a problem</strong>' : '<a href="/">Report a problem</a>' %]</li> - <li class="section">[% c.req.uri.path == '/reports/Lichfield' ? '<strong>All reports</strong>' : '<a href="/reports/Lichfield">All reports</a>' %]</li> - <li class="section">[% c.req.uri.path == '/alert' ? '<strong>Local alerts</strong>' : '<a href="/alert">Local alerts</a>' %]</li> - <li class="section">[% c.req.uri.path == '/faq' ? '<strong>Help</strong>' : '<a href="/faq">Help</a>' %]</li> - <li class="section">[% c.req.uri.path == '/contact' ? '<strong>Contact</strong>' : '<a href="/contact">Contact</a>' %]</li> + [% IF c.user_exists %] + <li class="section">[% tprintf(loc('Signed in as %s'), c.user.name || c.user.email) %]</li> + <li class="section"><a href="/auth/sign_out">[% loc('Sign out') %]</a></li> + [% END %] + <li class="section"><a href="/">Report a problem</a></li> + <li class="section"><a href="/reports/Lichfield">All reports</a></li> + <li class="section"><a href="/my">Your reports</a></li> + <li class="section"><a href="/alert">Local alerts</a></li> + <li class="section"><a href="/faq">Help</a></li> + <li class="section"><a href="/contact">Contact</a></li> </ul> </li> <!-- End left-hand supplements --> diff --git a/templates/web/lichfield/header.html b/templates/web/lichfield/header.html index 802765b88..7b414159a 100644 --- a/templates/web/lichfield/header.html +++ b/templates/web/lichfield/header.html @@ -171,7 +171,17 @@ <!-- Breadcrumb --><!-- googleoff:all --> <ul id="breadcrumb"> - <li><a href="http://www.lichfielddc.gov.uk/site/">Home</a></li><li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents_index.php">Council information</a></li><li><a href="http://www.lichfielddc.gov.uk/site/scripts/documents.php?categoryID=100004" >Council and democracy</a></li><li class="bc_end">FixMyStreet</li></ul> + <li><a href="http://www.lichfielddc.gov.uk/site/">Home</a></li><li><a href="http://lichfield.fixmystreet.com/">FixMyStreet</a></li> + <li class="bc_end"> + [% SWITCH c.req.uri.path %]Report a problem + [% CASE '/' %]Report a problem + [% CASE '/reports/Lichfield' %]All reports + [% CASE '/my' %]Your reports + [% CASE '/alert' %]Local alerts + [% CASE '/faq' %]Help + [% CASE '/contact' %] Contact + [% END %] + </li></ul> <!-- END Breadcrumb --><!-- googleon:all --> <!-- END BREAD CRUMB --> <div id="wrap"> |