summaryrefslogtreecommitdiffstats
path: root/templates/admin/federation.html
blob: 1a48176641a0e9a7ada14773c468e4fc3fbd866c (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
{% extends "settings/base.html" %}

{% block subtitle %}Federation{% endblock %}

{% block content %}
    <section class="icon-menu">
        {% for domain in domains %}
            <a class="option" href="{{ domain.urls.edit_federation }}">
                <i class="fa-solid fa-globe"></i>
                <span class="handle">
                    {{ domain.domain }}
                    <small>
                        {{ domain.num_users }} remote identit{{ domain.num_users|pluralize:"y,ies" }}
                    </small>
                </span>
                {% if domain.blocked %}
                    <span class="pill bad">Blocked</span>
                {% endif %}
            </a>
        {% empty %}
            <p class="option empty">There are no federation links yet.</p>
        {% endfor %}
    </section>
{% endblock %}