Add review votes page

This commit is contained in:
rubenwardy
2022-01-01 22:17:39 +00:00
parent e346587111
commit 8f4e214c52
3 changed files with 128 additions and 2 deletions

View File

@@ -283,6 +283,11 @@
{% else %}
{{ render_review_preview(package) }}
{% endif %}
{% if current_user.is_authenticated and current_user.rank.atLeast(current_user.rank.ADMIN) %}
<a href="{{ package.getURL('packages.review_votes') }}" class="btn btn-secondary">Review Votes</a>
{% endif %}
{{ render_reviews(package.reviews, current_user) }}
{% if packages_uses %}