diff --git a/templates/manywallets.html b/templates/manywallets.html index 3303c9d..5810ac9 100644 --- a/templates/manywallets.html +++ b/templates/manywallets.html @@ -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>