From c47907b29ee5dbe17d6a288939e6f44cc9af4006 Mon Sep 17 00:00:00 2001 From: James Tauber Date: Wed, 19 Sep 2012 22:06:15 -0400 Subject: [PATCH] pass in schedule to schedule_list and show section name on section list --- symposion/schedule/views.py | 1 + symposion/templates/schedule/schedule_list.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/symposion/schedule/views.py b/symposion/schedule/views.py index 3e98f767..a90a987f 100644 --- a/symposion/schedule/views.py +++ b/symposion/schedule/views.py @@ -38,6 +38,7 @@ def schedule_list(request, slug=None): presentations = presentations.exclude(cancelled=True).order_by("id") ctx = { + "schedule": schedule, "presentations": presentations, } return render(request, "schedule/schedule_list.html", ctx) diff --git a/symposion/templates/schedule/schedule_list.html b/symposion/templates/schedule/schedule_list.html index 79372d1b..0ad1774e 100644 --- a/symposion/templates/schedule/schedule_list.html +++ b/symposion/templates/schedule/schedule_list.html @@ -24,7 +24,7 @@ {% endblock %} {% block body %} -

Accepted Presentations

+

Accepted {{ schedule.section.name }}

{% for presentation in presentations %}