diff options
author | Struan Donald <struan@exo.org.uk> | 2012-05-01 12:59:59 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-05-01 12:59:59 +0100 |
commit | 7082deb9b308fd3410c33181947efa2bde3d8a47 (patch) | |
tree | bc1d75d839207d15dc48a3dc30c2bceb7bf92650 | |
parent | 2d88725407a845076497156e4764a56a09af2024 (diff) |
working breadcrumbs
-rw-r--r-- | templates/web/barnet/header.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html index c03dfa432..6918d4408 100644 --- a/templates/web/barnet/header.html +++ b/templates/web/barnet/header.html @@ -53,8 +53,18 @@ <div id="breadcrumb"> <!-- googleoff:all --> <ul> - <li><a href="/">FixMyStreet Home</a></li> - <li class="bc_end"><span>Report a problem</span></li> + <li><a href="http://www.barnet.gov.uk/">Home</a> > </li> + <li><a href="/">FixMyStreet</a> > </li> + <li class="bc_end"><span> + [% IF c.req.uri.path == '/' || c.req.uri.path == '/around' %]Report a problem[% END %] + [% IF ( matches = c.req.uri.path.match( '/report/\d+' ) ) %]Report[% IF problem %] [% problem.id %][% END %][% END %] + [% IF c.req.uri.path == '/my' %]Your reports[% END %] + [% IF c.req.uri.path == '/reports/Barnet' %]All reports[% END %] + [% IF c.req.uri.path == '/alert' %]Local alerts[% END %] + [% IF c.req.uri.path == '/faq' %]Help[% END %] + [% IF c.req.uri.path == '/privacy' %]Privacy and Cookies[% END %] + [% IF c.req.uri.path == '/contact' %]Contact[% END %] + </span></li> </ul> <!-- googleon:all --> </div> |