diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-15 01:11:21 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-15 01:11:21 +0300 |
commit | c51c2326feb2a05629ca720fed31740cf73a8aa3 (patch) | |
tree | cdc4e80d9a2c729e2a2f23ad7e2f19ef71adb03f /templates/cave.html | |
parent | 5d383e0445357740b02093957aa7149975b90669 (diff) | |
download | troggle-c51c2326feb2a05629ca720fed31740cf73a8aa3.tar.gz troggle-c51c2326feb2a05629ca720fed31740cf73a8aa3.tar.bz2 troggle-c51c2326feb2a05629ca720fed31740cf73a8aa3.zip |
Better standard entrances report
Diffstat (limited to 'templates/cave.html')
-rw-r--r-- | templates/cave.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/cave.html b/templates/cave.html index 870df95..c7e7a16 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -174,9 +174,7 @@ {% if ent.entrance.explorers %} <dt>Explorers</dt><dd>{{ ent.entrance.explorers|safe }}</dd> {% endif %} - {% if ent.entrance.northing %} - <dt>Location</dt><dd> Easting: {{ ent.entrance.easting|safe }}, Northing: {{ ent.entrance.northing|safe }} (UTM or BMN, depending...), {{ ent.entrance.alt|safe }}m</dd> - {% endif %} + {% if ent.entrance.lat_wgs84 %} <dt>Location</dt><dd><a href="https://www.openstreetmap.org/?mlat={{ ent.entrance.lat_wgs84|floatformat:7}}&mlon={{ent.entrance.long_wgs84|floatformat:7}}">WGS84 Lat.: {{ ent.entrance.lat_wgs84|floatformat:7 }} N, Long.:{{ ent.entrance.long_wgs84|floatformat:7 }} E</a></dd> {% endif %} |