summaryrefslogtreecommitdiffstats
path: root/templates/activities/follows.html
blob: 27a13d3091639211f98fb4048f47ac6c0b15a8bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "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.relative }}">
                <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 %}