added notification_templates to result_notification context

This commit is contained in:
Brian Rosner 2012-09-08 16:13:20 -06:00
parent 5fefff0a3d
commit aa8db3c919

View file

@ -378,11 +378,13 @@ def result_notification(request, section_slug, status):
return access_not_permitted(request)
proposals = ProposalBase.objects.filter(kind__section__slug=section_slug, result__status=status).select_related("speaker__user", "result").select_subclasses()
notification_templates = NotificationTemplate.objects.all()
ctx = {
"section_slug": section_slug,
"status": status,
"proposals": proposals,
"notification_templates": notification_templates,
}
return render(request, "reviews/result_notification.html", ctx)