From 9627be3fa7f09b74bd70ff85fb1b9776f27393b7 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 2 Oct 2020 15:06:42 -0700 Subject: [PATCH] Basic null states (still needs expanding) --- bookwyrm/templates/feed.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index 7a68325a7..ffd20604c 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -5,6 +5,9 @@

Suggested books

+ {% if not suggested_books %} +

There are no books here right now! Try searching for a book to get started

+ {% else %}
    {% for book in suggested_books %} @@ -26,9 +29,13 @@
{% endfor %} + {% endif %}
+ {% if not activities %} +

There aren't any activities right now! Try following a user to get started

+ {% endif %} {% for activity in activities %}
{% include 'snippets/status.html' with status=activity %}