diff --git a/pinaxcon/templates/symposion/schedule/_mobile.html b/pinaxcon/templates/symposion/schedule/_mobile.html index dd23f4a8..14d1157b 100644 --- a/pinaxcon/templates/symposion/schedule/_mobile.html +++ b/pinaxcon/templates/symposion/schedule/_mobile.html @@ -3,9 +3,9 @@ {% load waffle_tags %} +{% with timetable|day_has_tracks:timetable.day as has_tracks %} + {% for row in timetable %} -{% if forloop.last %} -{% else %} {% for slot in row.slots %}
- {{ slot.content.title }}
-
- {{ slot.content.speakers|join:", "}}
-
{{ room_names }}
ends {{ slot.end }}
+ {{ slot.content.title }}
+
+ {{ slot.content.speakers|join:", "}}
+
{{ slot.kind.label }}
+{{ slot.kind.label }}
+ {% if has_tracks %}
+ {% with slot.rooms|listlookup:forloop.counter0|trackname:timetable.day as track_name %}
+ {% if track_name %}{{ track_name }} — {% endif %}
+ {% endwith %}
+ {% endif %}
+ {{ slot.rooms|join:", "}}
+
+ ends {{ slot.end }}
+
Day End
+