diff options
-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 %} |