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 @@
Positive - {{ proposals.positive.count }} + {{ proposals.positive|length }}
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +1 and no −1s
Negative - {{ proposals.negative.count }} + {{ proposals.negative|length }}
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −1 and no +1s
Indifferent - {{ proposals.indifferent.count }} + {{ proposals.indifferent|length }}
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +1 or a −1
Controversial - {{ proposals.controversial.count }} + {{ proposals.controversial|length }}
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +1 and −1
Too Few Reviews - {{ proposals.too_few.count }} + {{ proposals.too_few|length }}
proposals with fewer than {{ vote_threshold }} vote{{ vote_threshold|pluralize }}