From bc6e0d7675b313c368ad5d68a2b3b978c5ed14d0 Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Sun, 15 Dec 2019 20:56:54 +1000 Subject: [PATCH] Adjust tracks on mobile schedule Only display track if slot is not exclusive. Always use the first room assisgned to the slot to determine the track name. --- pinaxcon/templates/symposion/schedule/_mobile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinaxcon/templates/symposion/schedule/_mobile.html b/pinaxcon/templates/symposion/schedule/_mobile.html index 14d1157b..9e40c13c 100644 --- a/pinaxcon/templates/symposion/schedule/_mobile.html +++ b/pinaxcon/templates/symposion/schedule/_mobile.html @@ -33,8 +33,8 @@ {% endwith %}

- {% if has_tracks %} - {% with slot.rooms|listlookup:forloop.counter0|trackname:timetable.day as track_name %} + {% if has_tracks and not slot.exclusive %} + {% with slot.rooms.0|trackname:timetable.day as track_name %} {% if track_name %}{{ track_name }} — {% endif %} {% endwith %} {% endif %}