diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/web/default/around/display_location.html | 4 | ||||
-rw-r--r-- | templates/web/default/report/display.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html index 4c728806b..88300113b 100755 --- a/templates/web/default/around/display_location.html +++ b/templates/web/default/around/display_location.html @@ -53,7 +53,7 @@ [% ELSE %] <a id='hide_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => 1 } ) %]'>[% loc('Hide pins') %]</a> [% END %] - [% IF c.config.COUNTRY == 'GB' %] + [% IF c.cobrand.country == 'GB' %] | [% IF c.req.params.all_pins %] <a id='all_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => undef, all_pins => undef } ) %]'>[% loc('Hide stale reports') %]</a> @@ -63,7 +63,7 @@ [% END %] </p> -[% IF c.config.COUNTRY == 'GB' %] +[% IF c.cobrand.country == 'GB' %] <input type='hidden' id='all_pins' name='all_pins' value='[% all_pins | html %]'> [% END %] diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index 4267b359e..1f4456086 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -10,7 +10,7 @@ [% map_html %] -[% IF c.config.COUNTRY == 'GB' %] +[% IF c.cobrand.country == 'GB' %] <p id='sub_map_links'> <a href="http://maps.google.co.uk/maps?output=embed&z=16&q= [%- problem.title _ ' - ' _ c.cobrand.base_url_for_emails _ '/report/' _ problem.id | uri -%] |