Добавить аккаунт

{% if all_accounts_flooded %} {% endif %} {% if accounts %}
{% for acc in accounts %} {% endfor %}
Телефон Статус Premium Primary Доступность Flood wait Добавлен Действия
{{ acc.phone }} {% if acc.is_active %}● Активен{% else %}● Отключён{% endif %} {% if acc.is_premium %}{% else %}{% endif %} {% if acc.is_primary %}{% else %}{% endif %} {% if account_status[acc.phone].state == 'available' %}OK {% elif account_status[acc.phone].state == 'flood' %}Flood {% elif account_status[acc.phone].state == 'disconnected' %}Нет соединения {% else %}Неактивен{% endif %} {% if acc.flood_wait_until and account_status[acc.phone].state == 'flood' %} {{ acc.flood_wait_until|local_dt("time") }}
ещё {{ account_status[acc.phone].remaining_minutes }} мин {% else %} {% endif %}
{{ acc.created_at|local_dt("date") }}
{% for acc in accounts %}
{{ acc.phone }} {% if acc.is_active %}● Активен{% else %}● Отключён{% endif %}
{% if acc.is_premium %}Premium{% endif %} {% if acc.is_primary %}· Primary{% endif %} {% if account_status[acc.phone].state == 'available' %}· Доступен{% endif %} {% if account_status[acc.phone].state == 'disconnected' %}· Не подключён{% endif %} {% if account_status[acc.phone].state == 'flood' %}· Flood до {{ acc.flood_wait_until|local_dt("time") }} ({{ account_status[acc.phone].remaining_minutes }} мин){% endif %} {% if acc.created_at %}· {{ acc.created_at|local_dt("date") }}{% endif %}
{% endfor %}
{% else %}

Нет подключённых аккаунтов. Добавьте первый аккаунт.

{% endif %}