title and wallet folders working in /survexfile/258

This commit is contained in:
Philip Sargent
2020-07-05 17:22:26 +01:00
parent 5be41c8163
commit 3f9971d2ee
2 changed files with 50 additions and 34 deletions

View File

@@ -38,12 +38,12 @@
{% for survexblock in survexfile.survexblock_set.all %}
<tr>
<td>{{survexblock.name}}</td>
<td>
<td style="width:10 em">{{survexblock.name}}</td>
<td style="white-space:nowrap">
{% if survexblock.expedition %}
<a href="{{survexblock.expedition.get_absolute_url}}">{{survexblock.date|date:"D d M Y"}}</a>
{% else %}
{{survexblock.date}}
<!--{{survexblock.date}}-->
{% endif %}
</td>
@@ -57,12 +57,10 @@
{% endfor %}
</td>
<td>{{survexblock.legslength}}</td>
<td style="padding-right: 3px; text-align:right">{{survexblock.legslength|stringformat:".1f"}}</td>
<td>
{% for survextitle in survexblock.survextitle_set.all %}
{{survextitle.title}}
{% endfor %}
<td style="padding-left: 3px;">
{{survexblock.title}}
</td>
<td>