Fix shelf names on books page

This commit is contained in:
Mouse Reeve 2022-02-03 08:44:51 -08:00
parent 4a299bd5d0
commit 2c16b8f33b
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ from django.utils.translation import gettext_lazy as _
env = Env() env = Env()
env.read_env() env.read_env()
DOMAIN = env("DOMAIN") DOMAIN = env("DOMAIN")
VERSION = "0.2.0" VERSION = "0.2.1"
PAGE_LENGTH = env("PAGE_LENGTH", 15) PAGE_LENGTH = env("PAGE_LENGTH", 15)
DEFAULT_LANGUAGE = env("DEFAULT_LANGUAGE", "English") DEFAULT_LANGUAGE = env("DEFAULT_LANGUAGE", "English")

View file

@ -45,7 +45,7 @@
href="{{ shelf_tab.local_path }}" href="{{ shelf_tab.local_path }}"
{% if shelf_tab.identifier == shelf.identifier %} aria-current="page"{% endif %} {% if shelf_tab.identifier == shelf.identifier %} aria-current="page"{% endif %}
> >
{% include 'user/books_header.html' with shelf=shelf_tab %} {% include "snippets/translated_shelf_name.html" with shelf=shelf_tab %}
</a> </a>
</li> </li>
{% endfor %} {% endfor %}