From 8ef959ba73e531468d15108da358a2b367c7ca5a Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 31 Jan 2021 06:52:18 -0800 Subject: [PATCH 1/3] Adds little icons, so cute --- bookwyrm/templates/discover.html | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/discover.html b/bookwyrm/templates/discover.html index 2ff091f08..67bc374e2 100644 --- a/bookwyrm/templates/discover.html +++ b/bookwyrm/templates/discover.html @@ -2,9 +2,30 @@ {% block content %} {% if not request.user.is_authenticated %} -
+

{{ site.name }}: {{ site.instance_tagline }}

-
+ + +
+
+
+

Ad-Free

+

+
+
+
+
+

Anti-Corporate

+

+
+
+
+
+

Decentralized

+

+
+
+
@@ -26,6 +47,7 @@
+ {% else %}

Discover

From d2fc3febb0b063e0bcac6f3585bcbaa1a09c014f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 2 Feb 2021 09:44:29 -0800 Subject: [PATCH 2/3] 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 %}