Skip to content
Snippets Groups Projects
Commit eaaa0abd authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

added check for show.description.

parent 3abb85ce
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,9 @@ ...@@ -39,7 +39,9 @@
<div id="short-description" class="documentDescription">{{ show.short_description }}</div> <div id="short-description" class="documentDescription">{{ show.short_description }}</div>
{% if show.description %}
<div id="description">{{ show.description|safe }}</div> <div id="description">{{ show.description|safe }}</div>
{% endif %}
{% if show.image and show.image_enabled %} {% if show.image and show.image_enabled %}
<div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div> <div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div>
......
...@@ -36,7 +36,9 @@ ...@@ -36,7 +36,9 @@
<div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div> <div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div>
{% if timeslot.show.description %}
<div id="description">{{ timeslot.show.description|safe }}</div> <div id="description">{{ timeslot.show.description|safe }}</div>
{% endif %}
<p> <p>
{% for host in timeslot.show.hosts.all %} {% for host in timeslot.show.hosts.all %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment