{{ _("Domains") }}

{% if user.type >= user.Administrator %} {{ _("Add") }} {{ _("Add") }} {% endif %}
{% if domains.size %}
{% i18nc_var "Button text on the domain list page" "Edit domain" as edtDomTxt %} {% i18nc_var "Text for screen readers on dropdown menu" "Toggle dropdown" as togDrpTxt %} {% i18nc_var "Button text on the domain list page" "Add account" as addAccTxt %} {% i18nc_var "Button text on the domain list page" "Manage accounts" as mngAccTxt %} {% i18nc_var "Button text on the domain list page" "Alias addresses" as aliAdrTxt %} {% i18nc_var "Button text on the domain list page" "Check domain" as chkDomTxt %} {% i18nc_var "Button text on the domain list page" "Delete domain" as delDomTxt %} {% i18nc_var "Used for unlimited accounts and domain quota on domain list page" "unlimited" as unlimitedTxt %} {% for domain in domains %} {% endfor %}
{{ _("Actions") }} {{ _("Domain name") }} {{ _("Accounts") }} {{ _("Max. Accounts")}} {{ _("Default quota") }} {{ _("Domain quota") }} {{ _("Quota usage") }}
{{ domain.name }}
{% i18n "ID: %1, Prefix: %2" domain.id domain.prefix %}{% if domain.parent.id > 0 %}, {{ _("Parent:") }} {{ domain.parent.name }}{% endif %}
{{ _(domain.accounts) }} {% if domain.maxAccounts > 0 %}{{ _(domain.maxAccounts) }}{% else %}{{ unlimitedTxt }}{% endif %} {% if domain.quota > 0 %}{% l10n_filesize domain.quota 2 2 1024 %}{% else %}{{ _("not set") }}{% endif %} {% if domain.domainQuota > 0 %}{% l10n_filesize domain.domainQuota 2 2 1024 %}{% else %}{{ unlimitedTxt }}{% endif %} {% l10n_filesize domain.domainQuotaUsed 2 2 1024 %} {% if domain.domainQuota > 0 %}
{{ domain.domainQuotaUsagePercent|floatformat:2 }}%
{% endif %}
{% else %}

{{ _("Welcome to Skaffari") }}

{{ _("You have no domains configured. In order to create email accounts you have to first create at least one domain for which you want to add new email accounts.") }}

{{ _("Add domain") }}
{% endif %}