summaryrefslogtreecommitdiffstats
path: root/templates/svxcaveseveral.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/svxcaveseveral.html')
-rw-r--r--templates/svxcaveseveral.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/svxcaveseveral.html b/templates/svxcaveseveral.html
index d0412be..a0e2f97 100644
--- a/templates/svxcaveseveral.html
+++ b/templates/svxcaveseveral.html
@@ -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 %}