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

{% if tab == 'home' %} {% trans "Home Timeline" %} {% elif tab == 'local' %} {% trans "Local Timeline" %} {% else %} {% trans "Federated Timeline" %} {% endif %}

{# announcements and system messages #} {% if 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 %}
{% 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 %}