Move stars into header for ratings

This commit is contained in:
Mouse Reeve
2021-04-20 11:06:14 -07:00
parent 07dbc4c6c0
commit 9e5ebf9807
4 changed files with 120 additions and 119 deletions

View File

@ -1,7 +1,7 @@
{% spaceless %}
{% load i18n %}
<p class="stars">
<span class="stars">
<span class="is-sr-only">
{% if rating %}
{% blocktranslate trimmed with rating=rating|floatformat count counter=rating|length %}
@ -23,5 +23,5 @@
aria-hidden="true"
></span>
{% endfor %}
</p>
</span>
{% endspaceless %}