From 369b24f9ec8da77c8c7c1e0c7f211093c5f564b8 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 26 Jan 2021 13:02:04 -0800 Subject: [PATCH] null state for block page --- bookwyrm/templates/blocks.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/blocks.html b/bookwyrm/templates/blocks.html index 0e725e4b6..1df498163 100644 --- a/bookwyrm/templates/blocks.html +++ b/bookwyrm/templates/blocks.html @@ -5,6 +5,9 @@ Blocked Users {% endblock %} {% block panel %} +{% if not request.user.blocks.exists %} +

No users currently blocked.

+{% else %} +{% endif %} {% endblock %} -