{% extends "base.html" %}

{% block title %}
	{{ _("Reviews") }}
{% endblock %}

{% block scriptextra %}
	{% if current_user.is_authenticated %}
		<script src="/static/js/quick_review_voting.js?v=2"></script>
	{% endif %}
{% endblock %}

{% block content %}
	{% from "macros/pagination.html" import render_pagination with context %}
	{% from "macros/reviews.html" import render_reviews with context %}

	{{ render_pagination(pagination, url_set_query) }}
	{{ render_reviews(reviews, current_user, True) }}
	{{ render_pagination(pagination, url_set_query) }}
{% endblock %}
