diff --git a/symposion/reviews/views.py b/symposion/reviews/views.py index 62316e0f..a62b1988 100644 --- a/symposion/reviews/views.py +++ b/symposion/reviews/views.py @@ -301,13 +301,16 @@ def review_status(request, section_slug=None, key=None): # proposals with fewer than VOTE_THRESHOLD reviews "too_few": queryset.filter(result__vote_count__lt=VOTE_THRESHOLD).order_by("result__vote_count"), } - + admin = request.user.has_perm("reviews.can_manage_%s" % section_slug) + for status in proposals: + proposals[status] = list(proposals_generator(request, proposals[status], check_speaker=not admin)) + if key: ctx.update({ "key": key, - "proposals": proposals_generator(request, proposals[key], check_speaker=not admin), + "proposals": proposals[key], }) else: ctx["proposals"] = proposals diff --git a/symposion/templates/reviews/review_stats.html b/symposion/templates/reviews/review_stats.html index 6451457f..8f4a09cb 100644 --- a/symposion/templates/reviews/review_stats.html +++ b/symposion/templates/reviews/review_stats.html @@ -43,35 +43,35 @@