include presentation in the context for breadcrumbs
This commit is contained in:
parent
4461c2f510
commit
ca462422ba
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ def schedule_conference(request):
|
||||||
|
|
||||||
|
|
||||||
def schedule_detail(request, slug=None):
|
def schedule_detail(request, slug=None):
|
||||||
|
|
||||||
schedule = fetch_schedule(slug)
|
schedule = fetch_schedule(slug)
|
||||||
|
|
||||||
days_qs = Day.objects.filter(schedule=schedule)
|
days_qs = Day.objects.filter(schedule=schedule)
|
||||||
|
@ -147,5 +148,6 @@ def schedule_presentation_detail(request, pk):
|
||||||
|
|
||||||
ctx = {
|
ctx = {
|
||||||
"presentation": presentation,
|
"presentation": presentation,
|
||||||
|
"schedule": presentation.slot.day.schedule,
|
||||||
}
|
}
|
||||||
return render(request, "schedule/presentation_detail.html", ctx)
|
return render(request, "schedule/presentation_detail.html", ctx)
|
||||||
|
|
Loading…
Reference in a new issue