Renames "shelves" in the UI to "books"

Still haven't figure out the create/edit wording tho
This commit is contained in:
Mouse Reeve
2021-03-31 09:22:23 -07:00
parent 8b9b70d9cd
commit 83e4ec00f9
6 changed files with 15 additions and 13 deletions

View File

@ -23,12 +23,14 @@
{% block panel %}
{% if user.bookwyrm_user %}
<div class="block">
<h2 class="title">{% trans "Shelves" %}</h2>
<h2 class="title">
{% include 'user/books_header.html' %}
</h2>
<div class="columns">
{% for shelf in shelves %}
<div class="column is-narrow">
<h3>{{ shelf.name }}
{% if shelf.size > 3 %}<small>(<a href="{{ shelf.local_path }}">{% blocktrans with size=shelf.size %}See all {{ size }}{% endblocktrans %}</a>)</small>{% endif %}</h3>
{% if shelf.size > 3 %}<small>(<a href="{{ shelf.local_path }}">{% blocktrans with size=shelf.size %}View all {{ size }}{% endblocktrans %}</a>)</small>{% endif %}</h3>
<div class="is-mobile field is-grouped">
{% for book in shelf.books %}
<div class="control">
@ -41,7 +43,7 @@
</div>
{% endfor %}
</div>
<small><a href="{{ user.local_path }}/shelves">{% blocktrans %}See all {{ shelf_count }} shelves{% endblocktrans %}</a></small>
<small><a href="{{ user.local_path }}/shelves">{% trans "View all books" %}</a></small>
</div>
{% endif %}