diff options
-rwxr-xr-x | web/index.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web/index.cgi b/web/index.cgi index 50126d072..758ca8c50 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -1013,11 +1013,12 @@ sub display_problem { map { Utils::truncate_coordinate($_) } # ( $problem->{latitude}, $problem->{longitude} ); - my $map_links = - "<p id='sub_map_links'>" + my $map_links = ''; + $map_links = "<p id='sub_map_links'>" . "<a href=\"http://maps.google.co.uk/maps?output=embed&z=16&q=" . URI::Escape::uri_escape_utf8( $problem->{title} . ' - ' . $google_link ) - . "\@$short_lat,$short_lon\">View on Google Maps</a></p>"; + . "\@$short_lat,$short_lon\">View on Google Maps</a></p>" + if mySociety::Config::get('COUNTRY') eq 'GB'; my $banner; if ($q->{site} ne 'emptyhomes' && $problem->{state} eq 'confirmed' && $problem->{duration} > 8*7*24*60*60) { |