From d9175ce0b0c9dabde128d149331072ed3e42984f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 20 Jan 2022 14:03:38 -0800 Subject: [PATCH] HTML validity on shelf page --- bookwyrm/templates/shelf/shelf.html | 4 ++-- bookwyrm/templates/snippets/shelf_selector.html | 6 +++--- .../shelve_button/shelve_button_dropdown_options.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bookwyrm/templates/shelf/shelf.html b/bookwyrm/templates/shelf/shelf.html index a630918a..3a565221 100644 --- a/bookwyrm/templates/shelf/shelf.html +++ b/bookwyrm/templates/shelf/shelf.html @@ -92,7 +92,7 @@ {% with count=books.paginator.count %} {% if count %} -

+ {% blocktrans trimmed count counter=count with formatted_count=count|intcomma %} {{ formatted_count }} book {% plural %} @@ -104,7 +104,7 @@ (showing {{ start }}-{{ end }}) {% endblocktrans %} {% endif %} -

+ {% endif %} {% endwith %} diff --git a/bookwyrm/templates/snippets/shelf_selector.html b/bookwyrm/templates/snippets/shelf_selector.html index ea609666..197cf5b6 100644 --- a/bookwyrm/templates/snippets/shelf_selector.html +++ b/bookwyrm/templates/snippets/shelf_selector.html @@ -17,7 +17,7 @@ {% if shelf.editable %}