{% extends 'feed/layout.html' %} {% load i18n %} {% block panel %}

{{ tab.name }}

{# announcements and system messages #} {% if not activities.number > 1 %} {% if request.user.show_goal and not goal and tab.key == streams.first.key %} {% now 'Y' as year %}
{% include 'snippets/goal_card.html' with year=year %}
{% endif %} {% endif %} {# activity feed #} {% if not activities %}

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

{% if suggested_users %} {# suggested users for when things are very lonely #} {% include 'feed/suggested_users.html' with suggested_users=suggested_users %}
{% endif %} {% endif %} {% for activity in activities %} {% if not activities.number > 1 and forloop.counter0 == 2 and suggested_users %} {# suggested users on the first page, two statuses down #} {% include 'feed/suggested_users.html' with suggested_users=suggested_users %} {% endif %}
{% include 'snippets/status/status.html' with status=activity %}
{% endfor %} {% endblock %}