diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/around/_error_multiple.html | 2 | ||||
-rw-r--r-- | templates/web/base/header.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/base/around/_error_multiple.html b/templates/web/base/around/_error_multiple.html index ca047f1d0..751d81173 100644 --- a/templates/web/base/around/_error_multiple.html +++ b/templates/web/base/around/_error_multiple.html @@ -6,7 +6,7 @@ <p>[% loc('We found more than one match for that location.') %]</p> <ul class="pc_alternatives"> [% FOREACH match IN possible_location_matches %] - <li><a href="/around?latitude=[% match.latitude | uri %];longitude=[% match.longitude | uri %]">[% match.address | html %]</a></li> + <li><a href="/around?latitude=[% match.latitude | uri %];longitude=[% match.longitude | uri %][% IF c.req.params.category %];category=[% c.req.params.category | uri %][% END %]">[% match.address | html %]</a></li> [% END %] </ul> <p>[% loc('We show up to ten matches, please try a different search if yours is not here.') %]</p> diff --git a/templates/web/base/header.html b/templates/web/base/header.html index faba02519..3cc166a32 100644 --- a/templates/web/base/header.html +++ b/templates/web/base/header.html @@ -27,6 +27,8 @@ [% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %] <body class="[% bodyclass | html IF bodyclass %]"> + [% TRY %][% PROCESS 'before_wrapper.html' %][% CATCH file %][% END %] + <div class="wrapper"> <div class="table-cell"> [% INCLUDE 'header_site.html' %] |