diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/walletsall.html (renamed from templates/manywallets.html) | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/templates/manywallets.html b/templates/walletsall.html index a7ed11c..51a326b 100644 --- a/templates/manywallets.html +++ b/templates/walletsall.html @@ -29,7 +29,7 @@ see https://docs.djangoproject.com/en/dev/ref/models/querysets/#prefetch-related --> <table width=95%> -<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th><th>Cave (new)</th><th>Cave (old)</th></tr> +<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th><th>Cave</th></tr> {% for wallet in manywallets %} <tr> <td style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td> @@ -46,17 +46,7 @@ see https://docs.djangoproject.com/en/dev/ref/models/querysets/#prefetch-related {% endfor %} </td> - <td style="padding:2px"> - {% for survexblock in wallet.survexblock_set.all %} - {% ifchanged survexblock.survexfile.cave %} - <a href="/cave/scans/{{survexblock.survexfile.cave.slug}}">{{survexblock.survexfile.cave.slug}}</a> - {% endifchanged %} - {% empty %} - {% if wallet.cave %} - <em><a href="/cave/scans/{{wallet.cave}}">{{wallet.cave}}</a></em> - {% endif %} - {% endfor %} - </td> + </tr> {% endfor %} |