{% extends "layouts/base.html" %} {% block title %} {{ review.title }} | {% t "store.review.reviews" %} | {{ product.title }} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% t "navigation.main.home" %} {% with category=product.categories.all.0 %} {% for c in category.get_ancestors_and_self %} {{ c.name }} {% endfor %} {{ product.title }} {% t "store.review.all_reviews" %} {% endwith %} {{ review.title }} {% endblock %} {% block headertext %} {% t "store.review.customer_reviews" %} {% endblock %} {% block content %} {% with image=product.primary_image %} {% image_thumbnail image.original "x180" upscale=False as thumb %} {% endwith %} {{ product.get_title }} {% purchase_info_for_product request product as session %} {% if session.price.exists %} {% if session.price.price_retail > session.price.price %} {{ session.price.price_retail|currency:session.price.currency }} {% endif %} {% if session.price.price == 0 %} {% t "store.catalogue.free" %} {% else %} {{ session.price.price|currency:session.price.currency }} {% endif %} {% else %} {% endif %} {% if product.rating != None %} {% for i in '12345' %} {% if forloop.counter <= product.rating %} ★ {% else %} ★ {% endif %} {% endfor %} {% t "store.review.customer_reviews_count" with count=product.num_approved_reviews %} {% else %} {% endif %} {% if product|is_review_permitted:user %} {% t "store.catalogue.write_a_review" %} {% endif %} {{ review.title }} {% for i in '12345' %} {% if forloop.counter <= review.score %} ★ {% else %} ★ {% endif %} {% endfor %} {{ review.body|striptags }} {% endblock %}
{{ review.body|striptags }}