summaryrefslogtreecommitdiff
path: root/program/templates/v2
diff options
context:
space:
mode:
Diffstat (limited to 'program/templates/v2')
-rw-r--r--program/templates/v2/show_detail.html4
-rw-r--r--program/templates/v2/timeslot_detail.html4
2 files changed, 6 insertions, 2 deletions
diff --git a/program/templates/v2/show_detail.html b/program/templates/v2/show_detail.html
index 55f7f3b..73ec5b1 100644
--- a/program/templates/v2/show_detail.html
+++ b/program/templates/v2/show_detail.html
@@ -43,8 +43,8 @@
<div id="description">{{ show.description|safe }}</div>
{% endif %}
-{% if show.image and show.image_enabled %}
- <div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div>
+{% if show.image %}
+ <div id="image"><img src="https://images.helsinki.at/program/{{ show.image }}"></div>
{% endif %}
<p>
diff --git a/program/templates/v2/timeslot_detail.html b/program/templates/v2/timeslot_detail.html
index ab3b429..81c40c7 100644
--- a/program/templates/v2/timeslot_detail.html
+++ b/program/templates/v2/timeslot_detail.html
@@ -32,6 +32,10 @@
{% if timeslot.note %}
<div class="timeslot-note">{{ timeslot.note.content|safe }}</div>
+
+{% if timeslot.note.image %}
+ <div id="timeslot-note-image"><img src="https://images.helsinki.at/program/{{ timeslot.note.image }}"></div>
+{% endif %}
{% endif %}
</div>