Only show feed additions on the first page

This commit is contained in:
Mouse Reeve 2021-03-23 12:54:49 -07:00
parent 2acf1355e9
commit 9e9fd5c5a6

View file

@ -26,12 +26,13 @@
</ul>
</div>
{# announcements and system messages #}
{% if not activities.number > 1 %}
<a href="{{ request.path }}" class="hidden notification is-primary is-block" data-poll-wrapper>
{% blocktrans %}load <span data-poll="stream/{{ tab }}">0</span> unread status(es){% endblocktrans %}
</a>
{# 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 %}
<section class="block">
{% include 'snippets/goal_card.html' with year=year %}
@ -39,6 +40,8 @@
</section>
{% endif %}
{% endif %}
{# activity feed #}
{% if not activities %}
<p>{% trans "There aren't any activities right now! Try following a user to get started" %}</p>