From 11504e9cefceb39fc7a266c68a7c09fff08d1a5d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 10 Feb 2021 16:45:53 -0800 Subject: [PATCH] Makes covers clickable in places they aren't Fixes #598 --- bookwyrm/templates/lists/list.html | 2 +- bookwyrm/templates/lists/list_items.html | 2 +- bookwyrm/templates/snippets/shelf.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/lists/list.html b/bookwyrm/templates/lists/list.html index 4bd712846..5f9baa038 100644 --- a/bookwyrm/templates/lists/list.html +++ b/bookwyrm/templates/lists/list.html @@ -21,7 +21,7 @@
{% include 'snippets/book_titleby.html' with book=item.book %} diff --git a/bookwyrm/templates/lists/list_items.html b/bookwyrm/templates/lists/list_items.html index 942579ca9..87b195edb 100644 --- a/bookwyrm/templates/lists/list_items.html +++ b/bookwyrm/templates/lists/list_items.html @@ -10,7 +10,7 @@
{% for book in list.listitem_set.all|slice:5 %} - {% include 'snippets/book_cover.html' with book=book.book size="small" %} + {% include 'snippets/book_cover.html' with book=book.book size="small" %} {% endfor %}
diff --git a/bookwyrm/templates/snippets/shelf.html b/bookwyrm/templates/snippets/shelf.html index d5cdd003f..006bb4ea7 100644 --- a/bookwyrm/templates/snippets/shelf.html +++ b/bookwyrm/templates/snippets/shelf.html @@ -37,10 +37,10 @@ {% for book in books %} - {% include 'snippets/book_cover.html' with book=book size="small" %} + {% include 'snippets/book_cover.html' with book=book size="small" %} - {{ book.title }} + {{ book.title }} {{ book.authors.first.name }}