diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index 0275eb1a4..aef8fba1c 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -35,10 +35,14 @@
-
- {% include 'snippets/book_cover.html' with book=book size=large %} - {% include 'snippets/rate_action.html' with user=request.user book=book %} - {% include 'snippets/shelve_button/shelve_button.html' %} +
+
+ {% include 'snippets/book_cover.html' with book=book size=large %} + {% include 'snippets/rate_action.html' with user=request.user book=book %} +
+
+ {% include 'snippets/shelve_button/shelve_button.html' %} +
{% if request.user.is_authenticated and not book.cover %}
@@ -48,7 +52,7 @@
{% endif %} -
+
{% if book.isbn_13 %}
diff --git a/bookwyrm/templates/settings/manage_invite_requests.html b/bookwyrm/templates/settings/manage_invite_requests.html index a7648a7f3..7a7088d9b 100644 --- a/bookwyrm/templates/settings/manage_invite_requests.html +++ b/bookwyrm/templates/settings/manage_invite_requests.html @@ -23,7 +23,7 @@ {% trans "Ignored Invite Requests" %} {% else %} {% trans "Invite Requests" %} - {% endif %} + {% endif %} ({{ count }}) diff --git a/bookwyrm/templates/snippets/shelf.html b/bookwyrm/templates/snippets/shelf.html index 9ac7760c6..8cae29e63 100644 --- a/bookwyrm/templates/snippets/shelf.html +++ b/bookwyrm/templates/snippets/shelf.html @@ -2,7 +2,7 @@ {% load i18n %} {% load bookwyrm_tags %} {% if books|length > 0 %} -
+
diff --git a/bookwyrm/templates/snippets/status/status_content.html b/bookwyrm/templates/snippets/status/status_content.html index 53ccc5ca7..43cdc5d23 100644 --- a/bookwyrm/templates/snippets/status/status_content.html +++ b/bookwyrm/templates/snippets/status/status_content.html @@ -28,7 +28,7 @@ {% if status.quote %}
-
{{ status.quote | safe }}
+
{{ status.quote | safe }}

— {% include 'snippets/book_titleby.html' with book=status.book %}

diff --git a/bookwyrm/views/invite.py b/bookwyrm/views/invite.py index e4b98cba2..106afe65f 100644 --- a/bookwyrm/views/invite.py +++ b/bookwyrm/views/invite.py @@ -101,6 +101,7 @@ class ManageInviteRequests(View): data = { "ignored": ignored, + "count": paginated.count, "requests": paginated.page(page), } return TemplateResponse(request, "settings/manage_invite_requests.html", data)