diff options
Diffstat (limited to 'templates/svxcavesingle.html')
-rw-r--r-- | templates/svxcavesingle.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/svxcavesingle.html b/templates/svxcavesingle.html index bf7faef..4e62bf2 100644 --- a/templates/svxcavesingle.html +++ b/templates/svxcavesingle.html @@ -1,7 +1,6 @@ <!-- svxcavesingle.html - this text visible because this template has been included --> {% extends "base.html" %} {% block title %}List of survex files{% endblock %} -{% load wiki_markup %} {% block content %} {% autoescape off %} @@ -45,9 +44,9 @@ to go to a form to correct the online data. {% for survexfile in survexdirectory.survexfile_set.all %} <tr> {% if survexfile.exists %} - <td rowspan="{{survexfile.survexblock_set.all|length|plusone}}"> + <td rowspan="{{survexfile.survexblock_set.all|length|add:"1"}}"> {% else %} - <td class="survexnewfile" rowspan="{{survexfile.survexblock_set.all|length|plusone}}"> + <td class="survexnewfile" rowspan="{{survexfile.survexblock_set.all|length|add:"1"}}"> {% endif %} {% if survexfile == survexdirectory.primarysurvexfile %} |