From 0d7ffbc1753c78633cd36133d9d68b9d0e28758b Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 30 Apr 2021 11:34:59 -0700 Subject: [PATCH] Hide user status tabs when there are none --- bookwyrm/templates/book/book.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index 980061840..889a031ea 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -249,6 +249,7 @@
{% if request.user.is_authenticated %} + {% if user_statuses.review_count or user_statuses.comment_count or user_stuatses.quotation_count %} {% endif %} + {% endif %} {% for review in statuses %}