From 7a153a99420703bd1dbc671ce864d03f4b921686 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 18 Jan 2021 12:36:34 -0800 Subject: [PATCH] Collapse status content box for empty status (like goal) this is janky... oh well --- bookwyrm/templates/snippets/components/card.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/snippets/components/card.html b/bookwyrm/templates/snippets/components/card.html index 3c2cf9f1e..f1104893a 100644 --- a/bookwyrm/templates/snippets/components/card.html +++ b/bookwyrm/templates/snippets/components/card.html @@ -4,10 +4,12 @@ {% endblock %} + {% if not status or status.status_type != 'GeneratedNote' or status.book or status.mention_books.exists or status.mention_users.exists %}
{% block card-content %} {% endblock %}
+ {% endif %}