From fefb7e582a4bc01df5fe7a6608d78acdc551b396 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 4 Feb 2022 12:02:10 -0800 Subject: [PATCH] Fixes list note display --- bookwyrm/templates/lists/list.html | 4 +--- bookwyrm/tests/views/lists/test_list.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/lists/list.html b/bookwyrm/templates/lists/list.html index a4c12f46f..6dfea8a67 100644 --- a/bookwyrm/templates/lists/list.html +++ b/bookwyrm/templates/lists/list.html @@ -84,9 +84,7 @@ {{ username }} says: {% endblocktrans %} -

- {{ item.notes|to_markdown|safe }} -

+ {{ item.notes|to_markdown|safe }} {% if item.user == request.user %}
diff --git a/bookwyrm/tests/views/lists/test_list.py b/bookwyrm/tests/views/lists/test_list.py index f29288c04..bcec0822f 100644 --- a/bookwyrm/tests/views/lists/test_list.py +++ b/bookwyrm/tests/views/lists/test_list.py @@ -179,6 +179,7 @@ class ListViews(TestCase): book_list=self.list, user=self.local_user, book=self.book, + notes="hi hello", approved=True, order=1, )