diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-06-16 14:36:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-06-16 14:36:26 (GMT) |
commit | 9ce47d7086f6095c67e2827a10d982e8b7c36c7f (patch) | |
tree | e0f7ea9849ef57579ac6659c8789e5327157b61f | |
parent | 896f53f1d323767b8100fde4aacd44123bdaa368 (diff) |
add new show/note images to program/tips
-rw-r--r-- | program/templates/v2/recommendation_list.html | 9 |
1 files changed, 9 insertions, 0 deletions
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> |