diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-06-30 20:16:27 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-06-30 20:16:27 (GMT) |
commit | b9d8e1f37f5d319e1dd3d3820050bf49f42d1cc3 (patch) | |
tree | 56d7b491e278fb36ba037e5c81c7a7b7e37878c5 /program/templates | |
parent | 9b0adce7dce03309e0a039b346d462aaf73b0bef (diff) |
add show images in show listing and day_schedules
Diffstat (limited to 'program/templates')
-rw-r--r-- | program/templates/v2/day_schedule.html | 3 | ||||
-rw-r--r-- | program/templates/v2/show_list.html | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/program/templates/v2/day_schedule.html b/program/templates/v2/day_schedule.html index 113705d..fa855eb 100644 --- a/program/templates/v2/day_schedule.html +++ b/program/templates/v2/day_schedule.html @@ -55,6 +55,9 @@ {% else %} <p class="show-description">{{ timeslot.show.short_description }}</p> {% endif %} +{% if timeslot.show.image %} + <img class="show-image" src="https://images.helsinki.at/program/{{ timeslot.show.image }}"> +{% endif %} </div> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} diff --git a/program/templates/v2/show_list.html b/program/templates/v2/show_list.html index b3babef..0cee3ef 100644 --- a/program/templates/v2/show_list.html +++ b/program/templates/v2/show_list.html @@ -32,6 +32,9 @@ {% endfor %} </ul> <p class="show-description">{{ show.short_description }}</p> +{% if show.image %} + <img class="show-image" src="https://images.helsinki.at/program/{{ show.image }}"> +{% endif %} </div> </div> {% endfor %} |