diff options
Diffstat (limited to 'program/templates')
-rw-r--r-- | program/templates/v2/show_detail.html | 6 | ||||
-rw-r--r-- | program/templates/v2/timeslot_detail.html | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/program/templates/v2/show_detail.html b/program/templates/v2/show_detail.html index 55f7f3b..7b2e07e 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> @@ -69,7 +69,7 @@ <div class="title">{{ note.title }}</div> </li> {% endfor %} -{% if show.predecessor and show.predecessor.notes.all %} +{% if show.predecessor and show.predecessor.notes.all %}p {% if show.name != show.predecessor.name %} <h3>Davor als <a href="/program/shows/{{ show.predecessor.slug }}">{{ show.predecessor.name }}</a></h3> {% endif %} diff --git a/program/templates/v2/timeslot_detail.html b/program/templates/v2/timeslot_detail.html index ab3b429..f1e65b4 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/notes/{{ timeslot.note.image }}"></div> +{% endif %} {% endif %} </div> |