diff --git a/templates/eastings.html b/templates/eastings.html index 1657ea1..a5ea9db 100644 --- a/templates/eastings.html +++ b/templates/eastings.html @@ -22,9 +22,22 @@ Coordinate systems in Austria are explained in:
CaveEntranceEastingNorthingtagtag exacttag otherslug {% for ent in ents %} - - {% for c in ent.cavelist %}{{c.official_name|safe}}{% endfor %} - {{ent.name|safe}} + + {% for c in ent.cavelist %} + + {% if c.official_name %} + {{c.official_name|safe}} + {% else %} + Unnamed: {{c|safe}} + {% endif %}
+ {% endfor %} + + {% if ent.name %} + {{ent.name|safe}} + {% else %} + Unnamed: {{ent|safe}} + {% endif %} + {{ent.easting|floatformat:2}} {{ent.northing|floatformat:2}} {{ent.tag_station}}