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

{{ tab.name }}

{# feed settings #}
{{ _("Feed settings") }}
{% csrf_token %}
{% if settings_saved %} {{ _("Saved!") }} {% endif %} {% for name, value in feed_status_types_options %} {% endfor %}
{# announcements and system messages #} {% if not activities.number > 1 %} {% if request.user.show_goal and not goal and tab.key == 'home' %} {% now 'Y' as year %}
{% include 'feed/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 user.feed_status_types|length < 4 %}{% trans "Alternatively, you can try enabling more status types" %}{% endif %}

{% if request.user.show_suggested_users and 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 request.user.show_suggested_users and 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 %}