forked from expo/troggle
Put inside if clause if attribute does not exist
This commit is contained in:
parent
bd8d450542
commit
6de9181390
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user