From 9ce47d7086f6095c67e2827a10d982e8b7c36c7f Mon Sep 17 00:00:00 2001 From: Christian Pointner <equinox@helsinki.at> Date: Wed, 16 Jun 2021 16:36:26 +0200 Subject: add new show/note images to program/tips diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html index c98cd72..64bae9e 100644 --- a/program/templates/v2/recommendation_list.html +++ b/program/templates/v2/recommendation_list.html @@ -37,6 +37,15 @@ {% endif %} </h3> </div> +{% if recommendation.show.image or (recommendation.note and recommendation.note.imnage) %} + <div class="images"> +{% if recommendation.show.image %} + <img class="show-image" src="https://images.helsinki.at/program/{{ recommendation.show.image }}"> +{% endif %} +{% if recommendation.note and recommendation.note.imnage %} + <img class="note-image" src="https://images.helsinki.at/program/{{ recommendation.note.image }}"></div> +{% endif %} +{% endif %} </div> {% endfor %} </div> -- cgit v0.10.2