From 12567f6891ad591390cbd74c0e7b77a4a024a24e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 16 Dec 2022 19:42:48 -0700 Subject: Identity admin/moderation --- templates/admin/identities.html | 49 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) (limited to 'templates/admin/identities.html') diff --git a/templates/admin/identities.html b/templates/admin/identities.html index 556e915..9e30e39 100644 --- a/templates/admin/identities.html +++ b/templates/admin/identities.html @@ -3,7 +3,50 @@ {% block subtitle %}Identities{% endblock %} {% block content %} -

- Please use the Django Admin for now. -

+ +
+ {% if local_only %} + Local Only + {% else %} + Local Only + {% endif %} +
+
+ {% for identity in page_obj %} + + Avatar for {{ identity.name_or_handle }} + + {{ identity.html_name_or_handle }} + + {{ identity.handle }} + + + {% if identity.banned %} + Banned + {% endif %} + + {% empty %} +

+ {% if query %} + No identities match your query. + {% else %} + There are no identities yet. + {% endif %} +

+ {% endfor %} +
+ {% if page_obj.has_previous %} + Previous Page + {% endif %} + {% if page_obj.has_next %} + Next Page + {% endif %} +
+
{% endblock %} -- cgit v1.2.3