From b9d8e1f37f5d319e1dd3d3820050bf49f42d1cc3 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 30 Jun 2021 22:16:27 +0200
Subject: add show images in show listing and day_schedules


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 %}
-- 
cgit v0.10.2