diff options
Diffstat (limited to 'templates/svxcavesingle.html')
-rw-r--r-- | templates/svxcavesingle.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/svxcavesingle.html b/templates/svxcavesingle.html index a53889f..a17231d 100644 --- a/templates/svxcavesingle.html +++ b/templates/svxcavesingle.html @@ -50,11 +50,11 @@ to go to a form to correct the online data. <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 %} |