diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-06-23 18:44:53 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-06-23 18:44:53 +0300 |
commit | 6de9181390954a6c45f6258a1136e439449afdab (patch) | |
tree | 37143a78760ead1e5aa6c0b1335d5f363ab3b834 | |
parent | bd8d45054245666321ea1c7360d86504aefa9865 (diff) | |
download | troggle-6de9181390954a6c45f6258a1136e439449afdab.tar.gz troggle-6de9181390954a6c45f6258a1136e439449afdab.tar.bz2 troggle-6de9181390954a6c45f6258a1136e439449afdab.zip |
Put inside if clause if attribute does not exist
-rw-r--r-- | templates/cave.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/cave.html b/templates/cave.html index afc916f..c192af0 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -527,7 +527,7 @@ div#scene { <p><a href="https://aardgoose.github.io/CaveView.js/">CaveView</a> display of the .3d file is temporarily disabled while we fix things (Nov.2021). See <a href="/handbook/computing/todo.html">/handbook/computing/todo.html</a>. <a href="/survexfile">All survex files</a> <a href="{% if cave.kataster_number %}{% url "cave3d" cave.kataster_number %}{% else %}{% url "cave3d" cave.unofficial_number %}{% endif %}">3d file download</a> - <a href="{% url "survexcavessingle" cave.kataster_number %}">This survex file</a> + <a href="{% if cave.kataster_number %}{% url "survexcavessingle" cave.kataster_number %}">This survex file</a> {% endif %}"> <div id='scene'></div> {% endif %} |