moviewyrm/bookwyrm/templates/snippets/generated_status/rating.html

8 lines
385 B
HTML
Raw Normal View History

{% load i18n %}{% load humanize %}{% load utilities %}
2021-03-14 02:24:35 +00:00
{% blocktrans trimmed with title=book|book_title path=book.remote_id display_rating=rating|floatformat:"0" count counter=rating|add:0 %}
rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ display_rating }} star
{% plural %}
rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ display_rating }} stars
{% endblocktrans %}