Render rating status from template
This commit is contained in:
5
bookwyrm/templates/snippets/generated_status/rating.html
Normal file
5
bookwyrm/templates/snippets/generated_status/rating.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% load i18n %}{% load humanize %}{{% spaceless %}
|
||||
|
||||
{% blocktrans with title=book.title path=book.local_path rating=rating %}Rated <em><a href="{{ path }}">{{ title }}</a> </em>: {{ rating }} stars{% endblocktrans %}
|
||||
|
||||
{% endspaceless %}
|
Reference in New Issue
Block a user