mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
Now shows cave id even if no *ref
This commit is contained in:
parent
2f64e2d4c1
commit
f0195682f2
@ -35,7 +35,10 @@ see https://docs.djangoproject.com/en/3.2/ref/models/querysets/#prefetch-related
|
||||
{% ifchanged survexblock.survexfile.cave %}
|
||||
<a href="/cave/scans/{{survexblock.survexfile.cave.slug}}">{{survexblock.survexfile.cave.slug}}</a>
|
||||
{% endifchanged %}
|
||||
|
||||
{% empty %}
|
||||
{% if scanswallet.cave %}
|
||||
<em><a href="/cave/scans/{{scanswallet.cave}}">{{scanswallet.cave}}</a></em>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user