summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-07-16 12:54:15 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-07-16 12:54:15 (GMT)
commit68beb65c3bd3db0a2b9e979ab824aa3c99c4e538 (patch)
tree385f821f1a91cb605e40fc032f6b8466e3442f4c
parentef6876f2e319ca3a254efdff8dde75a8343648ea (diff)
added image to show detail.
-rw-r--r--templates/program/show_detail.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/program/show_detail.html b/templates/program/show_detail.html
index 3a61000..661a2b5 100644
--- a/templates/program/show_detail.html
+++ b/templates/program/show_detail.html
@@ -39,6 +39,10 @@
<div id="description">{{ show.description|safe }}</div>
+ {% if show.image %}
+ <div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div>
+ {% endif %}
+
<p>
{% for host in show.hosts.all %}
<a href="{% url host-detail host.id %}">{{ host }}</a><br />