mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +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 %}
|
{% ifchanged survexblock.survexfile.cave %}
|
||||||
<a href="/cave/scans/{{survexblock.survexfile.cave.slug}}">{{survexblock.survexfile.cave.slug}}</a>
|
<a href="/cave/scans/{{survexblock.survexfile.cave.slug}}">{{survexblock.survexfile.cave.slug}}</a>
|
||||||
{% endifchanged %}
|
{% endifchanged %}
|
||||||
|
{% empty %}
|
||||||
|
{% if scanswallet.cave %}
|
||||||
|
<em><a href="/cave/scans/{{scanswallet.cave}}">{{scanswallet.cave}}</a></em>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user