{% extends "oscar/dashboard/layout.html" %} {% load currency_filters %} {% load sorting_tags %} {% load i18n %} {% block body_class %}{{ block.super }} reviews{% endblock %} {% block title %} {% trans "Reviews" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %} {% endblock header %} {% block dashboard_content %}

{% trans "Review Search" %}

{% include 'oscar/dashboard/partials/form_fields_inline.html' with form=form %}
{% if review_list %}
{% csrf_token %} {% for review in review_list %} {% else %} {% trans "[Product deleted]" %} {% endif %} {% endfor %}

{{ description }}

{% trans "Update status of selected reviews" %} {{ review_form.status }}
{% trans "Title" context "Review title" %} {% trans "Product" %} {% trans "User" %} {% anchor 'score' _("Score") %} {% anchor 'total_votes' _("Votes") %} {% trans "Status" %} {% anchor 'date_created' _("Date created") %}
{{ review.title }} {% if review.product %} {{ review.product.title }} {% if not review.is_anonymous %} {{ review.reviewer_name }} {% else %} {{ review.name }} {% endif %} {{ review.score|floatformat:1 }} / {{ 5.0|floatformat:1 }} {{ review.total_votes }} {% if review.status == 1 %} {% elif review.status == 2 %} {% else %} {% endif %} {{ review.get_status_display }} {{ review.date_created }}
{% include "oscar/dashboard/partials/pagination.html" %}
{% else %}
{{ description }}
{% trans "No reviews found." %}
{% endif %} {% endblock dashboard_content %}