summaryrefslogtreecommitdiffstats
path: root/templates/dataformat
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-03-11 00:47:13 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-03-11 00:47:13 +0000
commit4d665489205ca0fa63f056eb416cf1c1c7192ae6 (patch)
treeea39811955d911a3d5c23cf48ec35c27e6ca1b76 /templates/dataformat
parent7c923842ca76faeb72dc4af9301239875dd162a2 (diff)
downloadtroggle-4d665489205ca0fa63f056eb416cf1c1c7192ae6.tar.gz
troggle-4d665489205ca0fa63f056eb416cf1c1c7192ae6.tar.bz2
troggle-4d665489205ca0fa63f056eb416cf1c1c7192ae6.zip
Fix URL to survex file in menus
Diffstat (limited to 'templates/dataformat')
-rw-r--r--templates/dataformat/cave.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml
index 7f53cd4..42fc122 100644
--- a/templates/dataformat/cave.xml
+++ b/templates/dataformat/cave.xml
@@ -42,6 +42,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
</entrance>
{% endfor %}
<explorers>{{ cave.explorers|default_if_none:""|safe }}</explorers><!-- 'CUCC Expo' and year(s) of exploration. To distinguish from caves explored by foreign groups. Individual names can be given too if it was a small cave. -->
+<survex_file>{{ cave.survex_file|default_if_none:"caves-1623/000/000.svx"|safe }}</survex_file><!-- Name of top-level survey file for this cave. Relative to the 'loser' survex repository. So for most caves that's "caves/cavenum/cavnum.svx". (e.g. caves/204/204.svx -->
<underground_description>{{ cave.underground_description|default_if_none:""|safe }}</underground_description><!-- Underground description. (description of approach and entrance goes in entrance file). For a small cave this will be the entire description. For larger caves it will be the front page of the description, or a short intro, containing links to other pages with the cave description in, or even nothing but a link. -->
<equipment>{{ cave.equipment|default_if_none:""|safe }}</equipment><!-- For a small cave, summary of gear needed to descend. For longer caves it could be blank, a table, or just refer to the description/topos. Leave blank if this info is in the description. -->
<references>{{ cave.references|default_if_none:""|safe }}</references><!-- References to documentation. Could be Journal articles or Logbook entries. Can be links if the docs are online. -->
@@ -52,7 +53,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
<length>{{ cave.length|default_if_none:""|safe }}</length><!-- Cave length. Can be left blank and system should fill it in automatically from survey data (it doesn't yet) -->
<depth>{{ cave.depth|default_if_none:""|safe }}</depth><!--Cave depth. Can be left blank and system should fill it in automatically from survey data (it doesn't yet) -->
<extent>{{cave.extent|default_if_none:""|safe }}</extent>
-<survex_file>{{ cave.survex_file|default_if_none:"caves-1623/000/000.svx"|safe }}</survex_file><!-- Name of top-level survey file for this cave. Relative to the 'loser' survex repository. So for most caves that's "caves/cavenum/cavnum.svx". (e.g. caves/204/204.svx -->
+
<description_file>{{ cave.description_file|default_if_none:""|safe }}</description_file><!-- Path of top-level description file for this cave, when a separate file is used. Otherwise blank. -->
<url>{{ cave.url|default_if_none:"1623/000"|safe }}</url><!-- (Required). Relative URL of this cave. i.e the URL this cave appears at on the website, not including 'https://expo.survex.com/. Normally area/cavenum., e.g ('1623/000')-->
</cave>