From 55ac7e27973da030b369f823cd6579e209c60526 Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Sun, 29 Jan 2012 17:49:05 +0100 Subject: Update to use new template system --- slideshows/advanced/template.html | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'slideshows/advanced') diff --git a/slideshows/advanced/template.html b/slideshows/advanced/template.html index e7e9b3f..9cc43f9 100644 --- a/slideshows/advanced/template.html +++ b/slideshows/advanced/template.html @@ -12,11 +12,29 @@
    - $IMAGES + {% for slide in slides %} +
  • + {% if slide.image %}{% endif %} + {% if slide.description %}
    {{slide.description}}
    {% if slide.text %}
    {{slide.text}}
    {% endif %}
    {% endif %} + {% if slide.image %}{% endif %} +
  • + {% endfor %}
- $EVENTS + {% for date in events %} +
{{date.date}}
+ {% if date.events %}
    {% endif %} + {% for event in date.events %} +
  • + {% if event.start %}
    {{event.start}}
    {% endif %} + {% if event.summary %}
    {{event.summary}}
    {% endif %} + {% if event.description %}
    {{event.description}}
    {% endif %} +
  • + {% endfor %} +
+
+ {% endfor %}
-- cgit v1.2.1