diff options
Diffstat (limited to 'templates/svxcaveseveral.html')
-rw-r--r-- | templates/svxcaveseveral.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/svxcaveseveral.html b/templates/svxcaveseveral.html index b6b7f14..f889acb 100644 --- a/templates/svxcaveseveral.html +++ b/templates/svxcaveseveral.html @@ -1,7 +1,6 @@ <!-- svxcaveseveral.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 %} <!-- the only thing passed into this template is a list of object identifiers for caves. All the processing to extract the survex subdriectories and survex files is done in this template --> @@ -45,9 +44,9 @@ {% 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 %} |