mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 02:20:31 +00:00
parent
6ba605cbd0
commit
d8098357e6
2 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% include 'user/books_header.html' %}
|
||||
{% include 'user/books_header.html' with shelfname=shelf.identifier %}
|
||||
{% endblock %}
|
||||
|
||||
{% block opengraph_images %}
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
{% load i18n %}
|
||||
{% if is_self %}
|
||||
{% if shelfname == 'to-read' %}
|
||||
{% trans "To Read" %}
|
||||
{% elif shelfname == 'reading' %}
|
||||
{% trans "Currently Reading" %}
|
||||
{% elif shelfname == 'read' %}
|
||||
{% trans "Read" %}
|
||||
{% elif shelfname == 'all' %}
|
||||
{% trans "Your books" %}
|
||||
{% else %}
|
||||
{{ shelfname }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% blocktrans with username=user.display_name %}{{ username }}'s books{% endblocktrans %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue