From 094aa869116847d7941ab6fbf18b176dec1665d1 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sun, 1 May 2016 17:14:24 +0200 Subject: include notes of predecessor show if available. diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html index 7993287..04ad976 100644 --- a/program/templates/show_detail.html +++ b/program/templates/show_detail.html @@ -73,9 +73,20 @@
{{ note.title }}
{% endfor %} + {% if show.predecessor and show.predecessor.notes.all %} + {% if show.name != show.predecessor.name %} +

Davor als {{ show.predecessor.name }}

+ {% endif %} + {% for note in show.predecessor.notes.all reversed %} +
  • + {{ note.start|date:"d. M Y" }}: +
    {{ note.title }}
    +
  • + {% endfor %} + {% endif %} {% endif %} - -- cgit v0.10.2