moviewyrm/bookwyrm/templates/snippets/page_text.html
2021-04-01 20:22:42 -07:00

7 lines
284 B
HTML

{% load humanize %}
{% load i18n %}
{% if total_pages %}
{% blocktrans with page=page|intcomma total_pages=total_pages|intcomma %}page {{ page }} of {{ total_pages }}{% endblocktrans %}
{% else %}
{% blocktrans with page=page|intcomma %}page {{ page }}{% endblocktrans %}
{% endif %}