diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-06-16 14:54:41 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-06-16 14:54:41 (GMT) |
commit | 3f2e88c008f9833dc89348dd26f9c715ca72712e (patch) | |
tree | a41bebc7ae6d628614821c1a668167c3646d28ef /program | |
parent | 9ce47d7086f6095c67e2827a10d982e8b7c36c7f (diff) |
fixup! add new show/note images to program/tips
Diffstat (limited to 'program')
-rw-r--r-- | program/templates/v2/recommendation_list.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html index 64bae9e..9d59e96 100644 --- a/program/templates/v2/recommendation_list.html +++ b/program/templates/v2/recommendation_list.html @@ -37,14 +37,13 @@ {% endif %} </h3> </div> -{% if recommendation.show.image or (recommendation.note and recommendation.note.imnage) %} + <div class="images"> -{% if recommendation.show.image %} +{% 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 %} +{% endif %} +{% if recommendation.note and recommendation.note.image %} <img class="note-image" src="https://images.helsinki.at/program/{{ recommendation.note.image }}"></div> -{% endif %} {% endif %} </div> {% endfor %} |