From eaaa0abdfe9ab3296c7a2c9c90bc2f1375655940 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Fri, 17 Feb 2012 18:31:09 +0100 Subject: added check for show.description. diff --git a/templates/program/show_detail.html b/templates/program/show_detail.html index 8337155..c75b322 100644 --- a/templates/program/show_detail.html +++ b/templates/program/show_detail.html @@ -39,7 +39,9 @@
{{ show.short_description }}
+ {% if show.description %}
{{ show.description|safe }}
+ {% endif %} {% if show.image and show.image_enabled %}
image
diff --git a/templates/program/timeslot_detail.html b/templates/program/timeslot_detail.html index 172255c..856aef3 100644 --- a/templates/program/timeslot_detail.html +++ b/templates/program/timeslot_detail.html @@ -36,7 +36,9 @@
{{ timeslot.show.short_description }}
+ {% if timeslot.show.description %}
{{ timeslot.show.description|safe }}
+ {% endif %}

{% for host in timeslot.show.hosts.all %} -- cgit v0.10.2