From d2fc3febb0b063e0bcac6f3585bcbaa1a09c014f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 2 Feb 2021 09:44:29 -0800 Subject: [PATCH] Show reading activity panel when no readthroughs exist --- bookwyrm/templates/book.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 4a95237cf..51811d17f 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -147,7 +147,7 @@ {% endfor %} - {% if readthroughs.exists %} + {% if request.user.is_authenticated %}

Your reading activity

@@ -155,6 +155,9 @@ {% include 'snippets/toggle/open_button.html' with text="Add read dates" icon="plus" class="is-small" controls_text="add-readthrough" %}
+ {% if not readthroughs.exists %} +

You don't have any reading activity for this book.

+ {% endif %}