From 9e9fd5c5a66f6a289e025d2aec9fa2a30d7de68e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 23 Mar 2021 12:54:49 -0700 Subject: [PATCH] Only show feed additions on the first page --- bookwyrm/templates/feed/feed.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/feed/feed.html b/bookwyrm/templates/feed/feed.html index 88fffbc7..379bf927 100644 --- a/bookwyrm/templates/feed/feed.html +++ b/bookwyrm/templates/feed/feed.html @@ -26,12 +26,13 @@ +{# announcements and system messages #} +{% if not activities.number > 1 %} -{# announcements and system messages #} -{% if request.user.show_goal and not goal and tab == 'home' and not activities.number > 1 %} +{% if request.user.show_goal and not goal and tab == 'home' %} {% now 'Y' as year %}
{% include 'snippets/goal_card.html' with year=year %} @@ -39,6 +40,8 @@
{% endif %} +{% endif %} + {# activity feed #} {% if not activities %}

{% trans "There aren't any activities right now! Try following a user to get started" %}