summaryrefslogtreecommitdiffstats
path: root/templates/admin/federation.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/federation.html')
-rw-r--r--templates/admin/federation.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/admin/federation.html b/templates/admin/federation.html
new file mode 100644
index 0000000..1a48176
--- /dev/null
+++ b/templates/admin/federation.html
@@ -0,0 +1,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 %}