From e21d59386c7fd2dc739158ef7007c5edffd02c86 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 7 Nov 2020 20:47:56 -0800 Subject: [PATCH] Don't show reshelve buttons on other people's shelves yikes --- bookwyrm/templates/snippets/shelf.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/snippets/shelf.html b/bookwyrm/templates/snippets/shelf.html index 8629ed1a3..1ca5ed607 100644 --- a/bookwyrm/templates/snippets/shelf.html +++ b/bookwyrm/templates/snippets/shelf.html @@ -66,9 +66,11 @@ {% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %} {% endif %} + {% if shelf.user == request.user %} {% include 'snippets/shelf_selector.html' with current=shelf %} + {% endif %} {% endfor %}