Merge pull request #736 from mouse-reeve/rating-template
Render rating status from template
This commit is contained in:
3
bookwyrm/templates/snippets/generated_status/rating.html
Normal file
3
bookwyrm/templates/snippets/generated_status/rating.html
Normal file
@ -0,0 +1,3 @@
|
||||
{% load i18n %}{% load humanize %}
|
||||
|
||||
{% blocktrans with title=book.title path=book.remote_id rating=rating count counter=rating %}Rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ rating }} star{% plural %}Rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ rating }} stars{% endblocktrans %}
|
Reference in New Issue
Block a user