diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-08-03 16:11:46 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-08-03 16:11:46 +0300 |
commit | e101f4ed2f3994d20f0f9daed9a6f2fd80bcfd4b (patch) | |
tree | ffd8ef9280beea9825c6885b1326a1806d859b7f /templates/dataformat | |
parent | 0dfe9d94b2114d7709ae24c0f859127745ffa524 (diff) | |
download | troggle-e101f4ed2f3994d20f0f9daed9a6f2fd80bcfd4b.tar.gz troggle-e101f4ed2f3994d20f0f9daed9a6f2fd80bcfd4b.tar.bz2 troggle-e101f4ed2f3994d20f0f9daed9a6f2fd80bcfd4b.zip |
trying to isolate bug in letter setting on ents
Diffstat (limited to 'templates/dataformat')
-rw-r--r-- | templates/dataformat/cave.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml index dc66f14..236a2fe 100644 --- a/templates/dataformat/cave.xml +++ b/templates/dataformat/cave.xml @@ -40,7 +40,8 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast {% for ce in cave.entrances.all %} <entrance> <entranceslug>{{ ce.entrance.slug|default_if_none:""|safe }}</entranceslug><!-- Internal ID to refer to each entrance instance in the entrance files (typically the same as that filename (e.g. 1623-161c). Matches the 'slug' field in the entrance file --> - <letter>{{ ce.entrance_letter|default_if_none:""|safe }}</letter><!--Leave blank for single-entrance cave. If there is more than one entrace then the letter needs to be given. Generally matches the entranceslug ID. --> + <!-- DEBUG {{ce.cave}}+{{ce.entrance}} '{{ ce.entrance.singleletter }}' ={{ce.entranceletter}}= --> + <letter>{{ ce.entranceletter|default_if_none:""|safe }}</letter><!--Leave blank for single-entrance cave. If there is more than one entrace then the letter needs to be given. Generally matches the entranceslug ID. --> </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. --> |