diff --git a/bookwyrm/templates/lists/bookmark_button.html b/bookwyrm/templates/lists/bookmark_button.html new file mode 100644 index 00000000..8831d398 --- /dev/null +++ b/bookwyrm/templates/lists/bookmark_button.html @@ -0,0 +1,39 @@ +{% load i18n %} +{% load interaction %} + +{% if request.user.is_authenticated %} + +{% with request.user|bookmarked:list as bookmarked %} +
+ + +{% endwith %} + +{% endif %} + diff --git a/bookwyrm/templates/lists/list_layout.html b/bookwyrm/templates/lists/list_layout.html index b24ce9e3..68abafc0 100644 --- a/bookwyrm/templates/lists/list_layout.html +++ b/bookwyrm/templates/lists/list_layout.html @@ -11,12 +11,13 @@ {% include 'lists/created_text.html' with list=list %} - {% if request.user == list.user %} -