moviewyrm/bookwyrm/templates/snippets/page_text.html

20 lines
345 B
HTML
Raw Normal View History

2021-10-15 16:40:49 +00:00
{% spaceless %}
2021-04-02 03:22:42 +00:00
{% load humanize %}
{% load i18n %}
2021-10-15 16:40:49 +00:00
2021-04-02 03:22:42 +00:00
{% if total_pages %}
2021-10-15 16:40:49 +00:00
{% blocktrans trimmed with page=page|intcomma total_pages=total_pages|intcomma %}
page {{ page }} of {{ total_pages }}
{% endblocktrans %}
2021-04-02 03:22:42 +00:00
{% else %}
2021-10-15 16:40:49 +00:00
{% blocktrans trimmed with page=page|intcomma %}
page {{ page }}
{% endblocktrans %}
2021-04-02 03:22:42 +00:00
{% endif %}
2021-10-15 16:40:49 +00:00
{% endspaceless %}