{% extends "base.html" %} {% block title_extra %} — {{ _('invites_title') }}{% endblock %} {% block content %} 🔗 {{ _('invites_title') }} + {{ _('invite_create') }} {{ _('invites_hint') }} 🔗 {{ _('invites_empty') }} {{ _('invites_empty_desc') }} {% for inv in invites %} 🔗 {{ inv.name }} {% if inv.available %} {{ _('invite_active') }} {% elif inv.expired %} {{ _('invite_expired') }} {% elif inv.exhausted %} {{ _('invite_exhausted') }} {% else %} {{ _('disabled') }} {% endif %} {{ _('invite_uses') }}: {% if inv.unlimited %}{{ inv.used_count }} / ∞{% else %}{{ inv.used_count }} / {{ inv.max_uses }}{% endif %} {{ inv.protocol if inv.protocol != 'xui' else '3x-ui VLESS' }} {% if inv.has_password %}🔐{% endif %} 📋 ✏️ {% if inv.enabled %}⏸{% else %}▶️{% endif %} 🗑 {% endfor %}
{{ _('invites_hint') }}