{% spaceless %} {% load utilities %} {% load i18n %} {% with 0|uuid as uuid %} {% if not request.user.show_ratings %} {% endif %} {% if rating %} {% blocktranslate trimmed with rating=rating|floatformat:0 count counter=rating|floatformat:0|add:0 %} {{ rating }} star {% plural %} {{ rating }} stars {% endblocktranslate %} {% for i in '12345'|make_list %} {% endfor %} {% else %} {% trans "No rating" %} {% endif %} {% endwith %} {% endspaceless %}