1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00

dont language format lat, long in the link to google maps (#496) (#547)

This commit is contained in:
Matt Griswold
2019-08-16 20:00:27 -05:00
committed by GitHub
parent 0caf1ae535
commit 2049d9b426

View File

@@ -209,7 +209,7 @@
{% elif row.type == "geocode" %}
<div class="view_value col-xs-8 col-sm-7 col-md-8">
{% if row.value.latitude and row.value.longitude %}
<a href="https://maps.google.com/?q={{ row.value.latitude }},{{ row.value.longitude }}">{{ row.value.latitude }}, {{ row.value.longitude }}</a>
<a href="https://maps.google.com/?q={{ row.value.latitude|stringformat:"f" }},{{ row.value.longitude|stringformat:"f" }}">{{ row.value.latitude }}, {{ row.value.longitude }}</a>
{% else %}
{% if instance.geocode_status %}
<div class="note error">