diff --git a/freak/templates/admin/admin_base.html b/freak/templates/admin/admin_base.html index 7a0c670..5288f35 100644 --- a/freak/templates/admin/admin_base.html +++ b/freak/templates/admin/admin_base.html @@ -23,6 +23,6 @@ - + diff --git a/freak/templates/admin/admin_strikes.html b/freak/templates/admin/admin_strikes.html index cab08c2..28825cf 100644 --- a/freak/templates/admin/admin_strikes.html +++ b/freak/templates/admin/admin_strikes.html @@ -9,7 +9,6 @@ {% endfor %} {% if strike_list.has_next %} diff --git a/freak/templates/admin/admin_user_detail.html b/freak/templates/admin/admin_user_detail.html new file mode 100644 index 0000000..52b1cd3 --- /dev/null +++ b/freak/templates/admin/admin_user_detail.html @@ -0,0 +1,46 @@ +{% extends "admin/admin_base.html" %} +{% from "macros/icon.html" import callout with context %} + +{% block content %} +

User: {{ u.handle() }}

+ + + +{% if u.banned_at %} +{% call callout('spoiler', 'error') %} +{{ u.handle() }} is suspended +{% if u.banned_until %}until {{ u.banned_until.strftime("%B %d, %Y %H:%M %z") }}{% else %}indefinitely{% endif %}. +{% if u.banned_message %}
Ban message: “{{ u.banned_message }}”{% endif %} +{% endcall %} +{% endif %} + + +
+
+ +

Strikes

+ +{% if strikes %} +