{% extends "base.html" %} {% from "components/ui.html" import ago, card, credentials, empty, filter_bar, link_button, pager with context %} {% block title %}Accounts · {{ APP_NAME }}{% endblock %} {% block heading %}Accounts{% endblock %} {% block subheading %}
| Address | Provider | Status | Last sync | Credentials | Actions |
|---|---|---|---|---|---|
| {{ account.email }} {% if account.display_name %}{{ account.display_name }}{% endif %} | {{ account.provider.value }}{% if health and health.watching %}push{% endif %} | {% include "partials/account_status.html" %} | {% if health is none %}—{% elif not health.synced %}not synced{% else %}{{ ago(health.sync.last_sync_at) }}{% endif %}{% if health and health.problem %}cannot be used {{ health.problem }}{% endif %}{% if health and health.sync.last_error %}sync failed {{ health.sync.last_error }}{% endif %} | {{ credentials(account.credentials) }} | {% if account.id in auditable %}{{ link_button("/ui/sends?account=" ~ account.id, "Sends", "send", alone=True, word=True, name="Sends of " ~ account.email) }}{% endif %} {% if account.id in readable %}{{ link_button("/ui/accounts/" ~ account.id ~ "/mail", "Mail", "envelope", alone=True, name="Mail of " ~ account.email) }}{% endif %} |