summaryrefslogtreecommitdiff
path: root/program/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-05-27 19:37:28 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-05-27 19:37:28 (GMT)
commit66a8d7ec50ac949d0cc3b14f9d76f35eb4f4d553 (patch)
tree15af15aa9c995f295cfe9a74701127a16e8b8a88 /program/templates
parent11bf1e04f7814722ce27fc6a7dab194c68c1ca5f (diff)
parenta1487772e667436e2274dece86cb40d2e58632a7 (diff)
merged stable into master
Diffstat (limited to 'program/templates')
-rw-r--r--program/templates/show_detail.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html
index 7993287..e3b2bdb 100644
--- a/program/templates/show_detail.html
+++ b/program/templates/show_detail.html
@@ -73,9 +73,20 @@
<div class="title">{{ note.title }}</div>
</li>
{% endfor %}
+ {% if show.predecessor and show.predecessor.notes.all %}
+ {% if show.name != show.predecessor.name %}
+ <h3>Davor als <a href="{% url "show-detail" show.predecessor.slug %}">{{ show.predecessor.name }}</a></h3>
+ {% endif %}
+ {% for note in show.predecessor.notes.all reversed %}
+ <li>
+ <a href="{% url "timeslot-detail" note.timeslot.id %}"
+ title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a>
+ <div class="title">{{ note.title }}</div>
+ </li>
+ {% endfor %}
+ {% endif %}
</ul>
{% endif %}
-
</div>
</body>