From 0d6890c84934719ac0862eb2e9c0021518888a12 Mon Sep 17 00:00:00 2001 From: Joel Addison Date: Sun, 15 Dec 2019 14:47:21 +1000 Subject: [PATCH] Fix schedule day view Retrieve day from URL on page load and open the schedule for that day. --- .../schedule/schedule_conference.html | 56 ++++++++++--------- vendor/symposion/schedule/views.py | 2 - 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/pinaxcon/templates/symposion/schedule/schedule_conference.html b/pinaxcon/templates/symposion/schedule/schedule_conference.html index 0c5179a9..4b94afe8 100644 --- a/pinaxcon/templates/symposion/schedule/schedule_conference.html +++ b/pinaxcon/templates/symposion/schedule/schedule_conference.html @@ -50,13 +50,16 @@ {% block scripts_extra %} {{ block.super }} {% endblock %} diff --git a/vendor/symposion/schedule/views.py b/vendor/symposion/schedule/views.py index 13a9c708..99f3bf2c 100644 --- a/vendor/symposion/schedule/views.py +++ b/vendor/symposion/schedule/views.py @@ -53,10 +53,8 @@ def schedule_conference(request): "days": days, }) - day_switch = request.GET.get('day', None) ctx = { "sections": sections, - "day_switch": day_switch } return render(request, "symposion/schedule/schedule_conference.html", ctx)