diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-06-29 09:25:53 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-06-29 10:32:10 +0300 |
commit | a6c47b26546fdcc07f80b74f30ba114d160a83a8 (patch) | |
tree | f3d05f9071d14b556f655c5d63a5c775a3d60661 /templates/dataformat | |
parent | 87d67f58205f3627e02e3b415419c85a1c80ff52 (diff) | |
download | troggle-a6c47b26546fdcc07f80b74f30ba114d160a83a8.tar.gz troggle-a6c47b26546fdcc07f80b74f30ba114d160a83a8.tar.bz2 troggle-a6c47b26546fdcc07f80b74f30ba114d160a83a8.zip |
<caveslg> now taken from filename not <caveslug> field
Diffstat (limited to 'templates/dataformat')
-rw-r--r-- | templates/dataformat/cave.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml index e8c6b5f..5725af8 100644 --- a/templates/dataformat/cave.xml +++ b/templates/dataformat/cave.xml @@ -17,7 +17,7 @@ the form documented at <cave> <non_public>{{ cave.non_public }}</non_public>{% for slug in cave.caveslug_set.all %}<!-- 'False' or 'True'. True if the cave should only be visible to logged-in users. Caves are normally public, so enter 'False' unless you know otherwise. --> -<caveslug>{{ slug.slug|default_if_none:"1623-000"|safe }}</caveslug>{% endfor %}<!--No longer required, we use the filename instead e.g. 1623-315 for 1623-315.html --> +<caveslug>{{ slug.slug|default_if_none:"1623-000"|safe }}</caveslug>{% endfor %}<!-- Ignored. No longer required, we use the filename instead e.g. 1623-315 for 1623-315.html --> <official_name>{{ cave.official_name|default_if_none:""|safe }}</official_name><!-- Name of the cave (normally in German) Use ü for u+Umlaut and ö for o+umlaut eg Höhle for Hohle and Glück for Gluck--> <area>{{cave.areacode |safe }}</area><!-- e.g. "1623" --> <kataster_code>{{ cave.kataster_code|default_if_none:"-"|safe }}</kataster_code><!-- 'length-or-depth/type exploration' |