diff --git a/templates/manywallets.html b/templates/manywallets.html index 4c08c51..ae01e0f 100644 --- a/templates/manywallets.html +++ b/templates/manywallets.html @@ -10,7 +10,7 @@ plans and elevations. It also contains scans of centre-line survex output on whi hand-drawn passage sections are drawn. These hand-drawn passages will eventually be traced to produce Tunnel or Therion drawings and eventually the final complete cave survey. <table width=95%> -<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th></tr> +<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th><th>Cave</th></tr> {% for scanswallet in manywallets %} <tr> <td style="padding:2px"><a href="{{scanswallet.get_absolute_url}}">{{scanswallet.walletname}}</a></td> @@ -20,6 +20,14 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c <a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock}}</a> {% endfor %} </td> + <td style="padding:2px"> + {% for survexblock in scanswallet.survexblock_set.all %} + {% ifchanged survexblock.survexfile.cave %} + <a href="{% url "cave" survexblock.survexfile.cave %}">{{survexblock.survexfile.cave}}</a> + {% endifchanged %} + + {% endfor %} + </td> </tr> {% endfor %} </table>