Files @ b50a42f24390
Branch filter:

Location: symposion_app/symposion/reviews/context_processors.py

Didier Raboud
Fix SponsorBenefit __str__ by using self.benefit.type instead of self.benefit_type
from symposion.proposals.models import ProposalSection


def reviews(request):
    sections = []
    for section in ProposalSection.objects.all():
        if request.user.has_perm("reviews.can_review_%s" % section.section.slug):
            sections.append(section)
    return {
        "review_sections": sections,
    }