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/identity_edit.html | 123 +++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 templates/admin/identity_edit.html (limited to 'templates/admin/identity_edit.html') diff --git a/templates/admin/identity_edit.html b/templates/admin/identity_edit.html new file mode 100644 index 0000000..c093b7a --- /dev/null +++ b/templates/admin/identity_edit.html @@ -0,0 +1,123 @@ +{% extends "settings/base.html" %} + +{% block subtitle %}{{ identity.name_or_handle }}{% endblock %} + +{% block content %} +

{{ identity.html_name_or_handle }} {{ identity.handle }}

+
+ {% csrf_token %} +
+ Stats + + + + + {% if identity.local %} + + + + + + + + + + {% else %} + + + + + + + + + + {% endif %} + + + + + + + +
+ {% if identity.local %} +
+ Users +

+ {% for user in identity.users.all %} + {{ user.email }}{% if not forloop.last %}, {% endif %} + {% endfor %} +

+
+ {% endif %} +
+ Technical + + {% if not identity.local %} + + + + {% if identity.state == "outdated" %} + + + + {% endif %} + {% endif %} + + + + {% if not identity.local %} + + + + {% endif %} + +
+
+ Admin Notes + {% include "forms/_field.html" with field=form.notes %} +
+
+ {% if not identity.local %} +
+
+ Back + View Profile + +
+
+{% endblock %} -- cgit v1.2.3