aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-07-19 12:55:51 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-07-19 12:55:51 +0100
commit5b13ffde1440b374b7133b2b919f1e6c19a19928 (patch)
treec65aceb92dad3c045e50e873828039cb03a65bdc
parente7248aa27d821c966d72c680b3c0cf5d46517534 (diff)
Update Google Maps directions link.
-rw-r--r--CHANGELOG.md1
-rw-r--r--templates/web/base/report/_inspect.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 81c1ff93c..c9c4ea83e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -26,6 +26,7 @@
- Prevent dupliate category listing on /my.
- Hide password help field along with other similar. #2185
- Allow questionnaire link to be revisited in quick succession. #2123
+ - Update Google Maps directions link.
- Open311 improvements:
- CLOSED status maps to 'closed' state if extended statuses are enabled.
- Development improvements:
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html
index e2db1ea97..252fde5ea 100644
--- a/templates/web/base/report/_inspect.html
+++ b/templates/web/base/report/_inspect.html
@@ -47,7 +47,7 @@
</p>
[% END %]
<p>
- <a target="_blank" href="https://www.google.com/maps/dir/Current+Location/[% problem.latitude %],[% problem.longitude %]" class="btn btn--block btn--navigate">[% loc('Navigate to this problem') %]</a>
+ <a target="_blank" href="https://www.google.com/maps/dir/?api=1&destination=[% problem.latitude %],[% problem.longitude %]" class="btn btn--block btn--navigate">[% loc('Navigate to this problem') %]</a>
</p>
<p>
<a href="#" class="btn btn--block btn--geolocate">[% loc('Set to my current location') %]</a>