From aecb2d38d6c1dbea297b4000d29426781e80bda1 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 5 Dec 2022 17:44:08 -0800 Subject: [PATCH 1/3] Visually separate authors when creating book --- bookwyrm/templates/book/edit/edit_book.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/book/edit/edit_book.html b/bookwyrm/templates/book/edit/edit_book.html index 70ec827eb..636a3e5f6 100644 --- a/bookwyrm/templates/book/edit/edit_book.html +++ b/bookwyrm/templates/book/edit/edit_book.html @@ -65,17 +65,17 @@
{% for author in author_matches %} -
+
{% blocktrans with name=author.name %}Is "{{ name }}" one of these authors?{% endblocktrans %} {% with forloop.counter0 as counter %} {% for match in author.matches %} -
+ {% endfor %}
{% else %} From 8d5192c8166bf3b7f3e49afa123eb9a0dcd6f6a5 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 6 Dec 2022 12:26:35 -0800 Subject: [PATCH 2/3] Don't show HR under last author item in confirm view --- bookwyrm/templates/book/edit/edit_book.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/book/edit/edit_book.html b/bookwyrm/templates/book/edit/edit_book.html index 636a3e5f6..f1b60d6c2 100644 --- a/bookwyrm/templates/book/edit/edit_book.html +++ b/bookwyrm/templates/book/edit/edit_book.html @@ -98,7 +98,9 @@ {% endwith %} + {% if not forloop.last %} + {% endif %} {% endfor %} {% else %} From a80e020344e48a4327f380339ef04df178902056 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 6 Dec 2022 12:26:52 -0800 Subject: [PATCH 3/3] Add direction to book page fields --- bookwyrm/templates/book/book.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index c5736776d..dd5201268 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -25,7 +25,7 @@
-

+

{{ book.title }}

@@ -37,7 +37,7 @@ content="{{ book.subtitle | escape }}" > - + {{ book.subtitle }} {% endif %} @@ -52,7 +52,7 @@ {% endif %} {% if book.authors.exists %} -
+
{% trans "by" %} {% include 'snippets/authors.html' with book=book %}
{% endif %}