diff --git a/bookwyrm/templates/groups/user_groups.html b/bookwyrm/templates/groups/user_groups.html index cc27ce42d..fb07e238a 100644 --- a/bookwyrm/templates/groups/user_groups.html +++ b/bookwyrm/templates/groups/user_groups.html @@ -31,5 +31,7 @@ + {% empty %} +

{% trans "No groups found." %}

{% endfor %} diff --git a/bookwyrm/templates/lists/list_items.html b/bookwyrm/templates/lists/list_items.html index 2c4ca1227..cff4c16c1 100644 --- a/bookwyrm/templates/lists/list_items.html +++ b/bookwyrm/templates/lists/list_items.html @@ -46,8 +46,7 @@ - {% endfor %} - {% if not lists or not lists.exists %} + {% empty %}

{% trans "No lists found." %}

- {% endif %} + {% endfor %} diff --git a/bookwyrm/templates/user/groups.html b/bookwyrm/templates/user/groups.html index 1e00bfe33..d3b48c849 100644 --- a/bookwyrm/templates/user/groups.html +++ b/bookwyrm/templates/user/groups.html @@ -35,10 +35,6 @@ {% include 'groups/user_groups.html' with memberships=memberships %} - - {% if not memberships or not memberships.exists %} -

{% trans "No groups found." %}

- {% endif %}
{% include 'snippets/pagination.html' with page=user.memberships path=path %}