From 841944d5641c645e1df1bcd8bbed2bd5b6377a7d Mon Sep 17 00:00:00 2001 From: aaron Date: Tue, 20 Jan 2009 06:36:45 +0100 Subject: [PATCH] [svn r8210] calendar.html used django 1.1 {% empty %} syntax, but older version on server so I had to change it --- troggle/templates/calendar.html | 8 ++++---- troggle/templates/caveindex.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/troggle/templates/calendar.html b/troggle/templates/calendar.html index 70d3ecf0a..b4ad49db5 100644 --- a/troggle/templates/calendar.html +++ b/troggle/templates/calendar.html @@ -49,13 +49,13 @@ {{ personexpedition.person }} + {% if personexpedition.ListDaysTF %} {% for dateTF in personexpedition.ListDaysTF %} - {% empty %} -
No data.
{% endfor %} - - + {% else %} +
No data.
+ {% endif %} {% endfor %} diff --git a/troggle/templates/caveindex.html b/troggle/templates/caveindex.html index 8b9ef3791..d97aff8cb 100644 --- a/troggle/templates/caveindex.html +++ b/troggle/templates/caveindex.html @@ -5,6 +5,6 @@ {% block content %} {% for cave in caves %} -

{{ cave }} {{ cave.official_name|wiki_to_html_short }}

+

{{ cave }} {{ cave.official_name|wiki_to_html_short }}

{% endfor %} {% endblock %} \ No newline at end of file