From b1fea9845810db0503afcd36e55fb4a4032eacd3 Mon Sep 17 00:00:00 2001 From: Joachim Date: Wed, 21 Apr 2021 22:31:27 +0200 Subject: [PATCH] Use one card-footer-item per footer button --- .../templates/snippets/status/layout.html | 49 +++++++++---------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/bookwyrm/templates/snippets/status/layout.html b/bookwyrm/templates/snippets/status/layout.html index 7ef269af..28bfe621 100644 --- a/bookwyrm/templates/snippets/status/layout.html +++ b/bookwyrm/templates/snippets/status/layout.html @@ -12,8 +12,8 @@ {% block card-content %}{% endblock %} {% block card-footer %} -
- {% if moderation_mode and perms.bookwyrm.moderate_post %} +{% if moderation_mode and perms.bookwyrm.moderate_post %} + +{% elif no_interact %} +{# nothing here #} +{% elif request.user.is_authenticated %} + + + +{% if not moderation_mode %} + +{% endif %} - {% else %} +{% else %} + +{% endif %} {% endblock %} - {% block card-bonus %} {% if request.user.is_authenticated and not moderation_mode %} {% with status.id|uuid as uuid %}