2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-21 21:57:21 +01:00

Make troggle compatible with Django 3.1

This commit is contained in:
Philip Sargent
2021-04-19 01:32:18 +01:00
parent e17a21defd
commit 879f6c288e
7 changed files with 91 additions and 90 deletions

View File

@@ -50,11 +50,11 @@
<td class="survexnewfile" rowspan="{{survexfile.survexblock_set.all|length|plusone}}">
{% endif %}
{% ifequal survexfile survexdirectory.primarysurvexfile %}
{% if survexfile == survexdirectory.primarysurvexfile %}
<a href="{% url "svx" survexfile.path %}"><b>{% url "svx" survexfile.path %}</b></a>
{% else %}
<a href="{% url "svx" survexfile.path %}"><i><small>{% url "svx" survexfile.path %}</small></i></a><!-- would like to extract only the last bit. Some javascript useful ?-->
{% endifequal %}
{% endif %}
</td>
</tr>
{% for survexblock in survexfile.survexblock_set.all %}