Improve rating description placement, remove description text, show only number of ratings

This commit is contained in:
Mikko Nieminen 2017-07-04 09:26:59 +03:00
parent 1f88b4d41d
commit 568119bee5
1 changed files with 3 additions and 4 deletions

View File

@ -28,9 +28,8 @@ stars - The number of stars to be displayed.
<span class="icon icon-star-empty rating-star"></span>
{%- endfor -%}
</span>
{% block star_rating_description %}
<span class="rating-description">({{ ratings_count }})</span>
{% endblock %}
</span>
{% endblock %}
{% block star_rating_description %}
<span class="rating-description">{{ ratings_count }} {{ _('rating') if ratings_count == 1 else _('ratings') }}</span>
{% endblock %}