forked from mirrors/bookwyrm
e47b5e788d
html isn't supported in the name field I guess
16 lines
588 B
HTML
16 lines
588 B
HTML
{% 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 %}
|
|
Review of "{{ book_title }}" ({{ display_rating }} star): {{ review_title }}
|
|
{% plural %}
|
|
Review of "{{ book_title }}" ({{ display_rating }} stars): {{ review_title }}
|
|
{% endblocktrans %}
|
|
|
|
{% else %}
|
|
|
|
{% blocktrans trimmed with book_title=book.title|safe book_path=book.local_path review_title=name|safe %}
|
|
Review of "{{ book_title }}": {{ review_title }}
|
|
{% endblocktrans %}
|
|
|
|
{% endif %}
|