{% extends "layout.html" %} {% load static %} {% block title %} Админка юзера — {{ block.super }} {% endblock %} {% block content %}
Изменить данные
{% csrf_token %}
{{ info_form.slug.label_tag }} {{ info_form.slug }} {% if info_form.slug.errors %}{{ info_form.slug.errors }}{% endif %}
{{ info_form.full_name.label_tag }} {{ info_form.full_name }} {% if info_form.full_name.errors %}{{ info_form.full_name.errors }}{% endif %}
{{ info_form.email.label_tag }} {{ info_form.email }} {% if info_form.email.errors %}{{ info_form.email.errors }}{% endif %}
{{ info_form.company.label_tag }} {{ info_form.company }} {% if info_form.company.errors %}{{ info_form.company.errors }}{% endif %}
{{ info_form.position.label_tag }} {{ info_form.position }} {% if info_form.position.errors %}{{ info_form.position.errors }}{% endif %}
{{ info_form.contact.label_tag }} {{ info_form.contact }} {% if info_form.contact.errors %}{{ info_form.contact.errors }}{% endif %}
{{ info_form.membership_platform_type.label_tag }} {{ info_form.membership_platform_type }} {% if info_form.membership_platform_type.errors %}{{ info_form.membership_platform_type.errors }}{% endif %}
{{ info_form.email_digest_type.label_tag }} {{ info_form.email_digest_type }} {% if info_form.email_digest_type.errors %}{{ info_form.email_digest_type.errors }}{% endif %}
{{ info_form.telegram_id.label_tag }} {{ info_form.telegram_id }} {% if info_form.telegram_id.errors %}{{ info_form.telegram_id.errors }}{% endif %}
{{ info_form.stripe_id.label_tag }} {{ info_form.stripe_id }} {% if info_form.stripe_id.errors %}{{ info_form.stripe_id.errors }}{% endif %}
{{ info_form.is_email_verified.label_tag }} {{ info_form.is_email_verified }} {% if info_form.is_email_verified.errors %}{{ info_form.is_email_verified.errors }}{% endif %}
{{ info_form.is_banned_until.label_tag }} {{ info_form.is_banned_until }} {{ info_form.is_banned_until.help_text }} {% if info_form.is_banned_until.errors %}{{ info_form.is_banned_until.errors }}{% endif %}
Роли
Роли пользователя: {{ user.get_roles_display }}
{% csrf_token %}
{{ form.role_action.label_tag }} {{ form.role_action }} {% if form.role_action.errors %}{{ form.role_action.errors }}{% endif %}
{{ form.role.label_tag }} {{ form.role }} {% if form.role.errors %}{{ form.role.errors }}{% endif %}
Дать шапку
{% csrf_token %}
{{ form.add_hat.label_tag }} {{ form.add_hat }} {% if form.new_hat.errors %}{{ form.new_hat.errors }}{% endif %}
{{ form.new_hat.label_tag }} {{ form.new_hat }} {% if form.new_hat.errors %}{{ form.new_hat.errors }}{% endif %}
{{ form.new_hat_name.label_tag }} {{ form.new_hat_name }} {% if form.new_hat_name.errors %}{{ form.new_hat_name.errors }}{% endif %}
{{ form.new_hat_icon.label_tag }} {{ form.new_hat_icon }} {% if form.new_hat_icon.errors %}{{ form.new_hat_icon.errors }}{% endif %}
{{ form.new_hat_color.label_tag }} {{ form.new_hat_color }} {% if form.new_hat_color.errors %}{{ form.new_hat_color.errors }}{% endif %}
{{ form.remove_hat.label_tag }} {{ form.remove_hat }} {% if form.remove_hat.errors %}{{ form.remove_hat.errors }}{% endif %}
Ачивки
{% csrf_token %}
{{ form.add_achievement.label_tag }} {{ form.add_achievement }} {% if form.add_achievement.errors %}{{ form.add_achievement.errors }}{% endif %}
{{ form.new_achievement.label_tag }} {{ form.new_achievement }} {% if form.new_achievement.errors %}{{ form.new_achievement.errors }}{% endif %}
Наказать
{% csrf_token %}
{{ form.is_banned.label_tag }} {{ form.is_banned }} {% if form.is_banned.errors %}{{ form.is_banned.errors }}{% endif %}
{{ form.ban_reason.label_tag }} {{ form.ban_reason }} {% if form.ban_reason.errors %}{{ form.ban_reason.errors }}{% endif %}
{{ form.ban_days.label_tag }} {{ form.ban_days }} {% if form.ban_days.errors %}{{ form.ban_days.errors }}{% endif %}
Размодерировать
{% csrf_token %}
{{ form.is_rejected.label_tag }} {{ form.is_rejected }} {% if form.is_rejected.errors %}{{ form.is_rejected.errors }}{% endif %}
{% if me.is_god %}
Удалить аккаунт юзера
{% csrf_token %}
{{ form.delete_account.label_tag }} {{ form.delete_account }} {% if form.delete_account.errors %}{{ form.delete_account.errors }}{% endif %}
{% endif %}
Продлить членство
{% csrf_token %}
{{ form.add_membership_days.label_tag }} {{ form.add_membership_days }} {% if form.add_membership_days.errors %}{{ form.add_membership_days.errors }}{% endif %}
Отправить сообщение
{% csrf_token %}
{{ form.ping.label_tag }} {{ form.ping }} {% if form.ping.errors %}{{ form.ping.errors }}{% endif %}
{% endblock %}