{% extends 'backend.html.twig' %} {% block title %}Utenti e bot — Mostry{% endblock %} {% block backend %}

Utenti e bot

Panoramica completa della piattaforma: chi si è registrato e quali assistenti ha creato.

Utenti registrati{{ stats.utenti }}
Email verificate{{ stats.verificati }}
Vitalizi{{ stats.vitalizi }}
Assistenti creati{{ stats.bot }}
{# ── utenti ── #}

Utenti

{% for u in users %} {% set ruolo = 'ROLE_ADMIN' in u.roles ? 'admin' : ('ROLE_VITALIZIO' in u.roles ? 'vitalizio' : 'normale') %} {% else %} {% endfor %}
Email Nome / Azienda Piano / Stato Bot Iscritto Ruolo Azioni
{{ u.email }} {{ u.fullName }}{% if u.company %}
{{ u.company }}{% endif %}
{% if ruolo == 'vitalizio' %}Vitalizio (a vita) {% elseif ruolo == 'admin' %}Admin {% elseif not u.isVerified %}non verificato {% elseif u.plan %}{{ u.plan.name }}{% if u.planExpiresAt %}
scade {{ u.planExpiresAt|date('d/m/Y') }}{% endif %} {% else %}nessun piano{% endif %}
{{ botCountByUser[u.id] ?? 0 }} {{ u.createdAt|date('d/m/Y') }}
{% if not u.isVerified %}
{% endif %} {% if u.id != app.user.id %} Vedi come {% endif %}
Nessun utente ancora.

Vitalizio = accesso completo a vita, senza pagamento Stripe (per chi paga di persona).

{# ── bot ── #}

Assistenti (configurazioni)

{% for b in bots %} {% else %} {% endfor %}
Nome Proprietario Motore AI Ruolo Chiave WhatsApp Attivo Creato
{{ b.name }} {{ b.owner ? b.owner.email : '—' }} {{ b.provider.label }}{% if b.model %}
{{ b.model }}{% endif %}
{{ b.role }} {{ b.usesManagedKey ? 'Mostry' : 'BYOK' }} {{ b.whatsappPhoneNumberId ? 'sì' : '—' }} {{ b.active ? 'sì' : 'no' }} {{ b.createdAt|date('d/m/Y') }}
Nessun assistente ancora.
{% endblock %}