moviewyrm/bookwyrm/templates/snippets/page_text.html
2021-10-15 09:41:29 -07:00

19 lines
345 B
HTML

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