{% extends "settings/base.html" %}

{% block subtitle %}Follows{% endblock %}

{% block content %}
    <section class="icon-menu">
        {% for identity, details in identities %}
            <a class="option" href="{{ identity.urls.view }}">
                <img src="{{ identity.local_icon_url }}">
                <span class="handle">
                    {{ identity.name_or_handle }}
                    <small>@{{ identity.handle }}</small>
                </span>
                {% if details.outbound %}
                    <span class="pill">Following</span>
                {% endif %}
                {% if details.inbound %}
                    <span class="pill">Follows You</span>
                {% endif %}
            </a>
        {% empty %}
            <p class="option empty">You have no follows.</p>
        {% endfor %}
    </section>
{% endblock %}