From 57044d1c2058698863a979e87cffaa6ce724863c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 28 Sep 2021 13:04:36 -0700 Subject: [PATCH] Adds null state for ip blocklist --- bookwyrm/templates/settings/ip_blocklist/ip_blocklist.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bookwyrm/templates/settings/ip_blocklist/ip_blocklist.html b/bookwyrm/templates/settings/ip_blocklist/ip_blocklist.html index 56a78ac1..dd8aa759 100644 --- a/bookwyrm/templates/settings/ip_blocklist/ip_blocklist.html +++ b/bookwyrm/templates/settings/ip_blocklist/ip_blocklist.html @@ -43,5 +43,8 @@ {% endfor %} +{% if not addresses.exists %} +

{% trans "No IP addresses currently blocked." %}

+{% endif %} {% endblock %}