moviewyrm/bookwyrm/templates/user/books_header.html

17 lines
439 B
HTML
Raw Normal View History

2021-03-31 16:50:40 +00:00
{% load i18n %}
{% if is_self %}
{% if shelf.identifier == 'to-read' %}
{% trans "To Read" %}
{% elif shelf.identifier == 'reading' %}
{% trans "Currently Reading" %}
{% elif shelf.identifier == 'read' %}
{% trans "Read" %}
{% elif shelf.identifier == 'all' %}
2021-03-31 16:50:40 +00:00
{% trans "Your books" %}
{% else %}
{{ shelf.name }}
{% endif %}
{% else %}
2021-03-31 16:50:40 +00:00
{% blocktrans with username=user.display_name %}{{ username }}'s books{% endblocktrans %}
{% endif %}