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

17 lines
678 B
HTML
Raw Normal View History

{% load i18n %}
{% if rating %}
{% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path display_rating=rating|floatformat:"-1" review_title=name|safe count counter=rating %}
2022-01-12 18:41:48 +00:00
Review of "<a href='{{ book_path }}'>{{ book_title }}</a>" ({{ display_rating }} star): {{ review_title }}
{% plural %}
2022-01-12 18:41:48 +00:00
Review of "<a href='{{ book_path }}'>{{ book_title }}</a>" ({{ display_rating }} stars): {{ review_title }}
{% endblocktrans %}
{% else %}
2022-01-12 18:42:27 +00:00
{% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path review_title=name|safe %}
2022-01-12 18:43:40 +00:00
Review of "<a href='{{ book_path }}'>{{ book_title }}</a>": {{ review_title }}
{% endblocktrans %}
{% endif %}