diff --git a/templates/base.html b/templates/base.html index 78194ab..dfe05d3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -33,7 +33,7 @@ {% endif %} 290 (FGH) | 359 (HC) | - caves | + caves | QMs | Survex | All Survex | diff --git a/templates/cave_debug.html b/templates/cave_debug.html index c4df57b..e9076d6 100644 --- a/templates/cave_debug.html +++ b/templates/cave_debug.html @@ -11,15 +11,17 @@ entrance ent slug Best station -** +url {% for ent in ents %} +{% if ent.bearings %} + #{{ent.id}} {{ent}} - {{ent.slug}} + {{ent.slug}} {% if ent.best_station %}{{ent.best_station}}{% endif %} @@ -27,7 +29,10 @@ {% if ent.best_station %}{{ent.best_station_object.latlong}}{% endif %} - + + {{ent.bearings}} + +{% endif %} {% endfor %} diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml index 3f132c3..64aaf88 100644 --- a/templates/dataformat/cave.xml +++ b/templates/dataformat/cave.xml @@ -1,7 +1,7 @@ - @@ -20,7 +20,7 @@ the form documented at {{ slug.slug|default_if_none:"1623-000"|safe }}{% endfor %} {{ cave.official_name|default_if_none:""|safe }} {{cave.areacode |safe }} -{{ cave.kataster_code|default_if_none:""|safe }} - {{ ce.entranceletter|default_if_none:""|safe }} {% endfor %} @@ -58,7 +57,6 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast {{cave.extent|default_if_none:""|safe }} {{ cave.description_file|default_if_none:""|safe }} -{{ cave.url|default_if_none:"1623/000"|safe }} diff --git a/templates/dataformat/entrance.xml b/templates/dataformat/entrance.xml index 98ca575..7acc740 100644 --- a/templates/dataformat/entrance.xml +++ b/templates/dataformat/entrance.xml @@ -28,7 +28,7 @@ though, you do not need to do a data import as it happens automatically --> {{ entrance.lastvisit|default_if_none:""|safe }} {{ entrance.approach|default_if_none:""|safe }} {{ entrance.underground_description|default_if_none:""|safe }} -{{ entrance.photo|default_if_none:""|safe }} +{{ entrance.photo|default_if_none:""|safe }} S? = Spit (?), U = Unmarked, ? = Unknown" --> -{{ entrance.marking|default_if_none:""|safe }} +{{ entrance.marking|default_if_none:"?"|safe }} {{ entrance.marking_comment|default_if_none:""|safe }} -{{ entrance.findability|default_if_none:""|safe }} +{{ entrance.findability|default_if_none:"?"|safe }} {{ entrance.findability_description|default_if_none:""|safe }} {{ entrance.alt|default_if_none:""|safe }} {{ entrance.lat_wgs84|default_if_none:""|safe }} @@ -53,7 +53,6 @@ though, you do not need to do a data import as it happens automatically --> {{ entrance.other_station|default_if_none:""|safe }} {{ entrance.other_description|default_if_none:""|safe }} {{ entrance.bearings|default_if_none:""|safe }} -{{ entrance.url|default_if_none:""|safe }}