diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-09-25 22:39:01 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-09-25 22:39:01 +0300 |
commit | f0195682f205e2f701b51a29a0385b6da2e66f89 (patch) | |
tree | ce31dfe33f48efed78fa48a100978a929f5f0048 | |
parent | 2f64e2d4c1cd1c9bbc8a97056a480571d86f345d (diff) | |
download | troggle-f0195682f205e2f701b51a29a0385b6da2e66f89.tar.gz troggle-f0195682f205e2f701b51a29a0385b6da2e66f89.tar.bz2 troggle-f0195682f205e2f701b51a29a0385b6da2e66f89.zip |
Now shows cave id even if no *ref
-rw-r--r-- | templates/manywallets.html | 5 |
1 files changed, 4 insertions, 1 deletions
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> |