{% extends "operator/base.html" %} {% load i18n %} {% block op_title %}{{ zone.domain }}{% endblock %} {% block op_content %}

{% blocktranslate trimmed with domain=zone.domain %}Organisation {{ domain }}{% endblocktranslate %}

{% translate "Name" %}
{{ zone.name }}
{% translate "Domain" %}
*.{{ zone.domain }}
{% translate "Portal" %}
https://{{ portal_host }}
{% translate "Status" %}
{% if zone.enabled %}{% translate "active" %}{% else %}{% translate "blocked" %} {% translate "no routes, no API, no certificates" %}{% endif %}
{% translate "Certificates" %}
{% for r in org_certs %}{{ r.org.slug }}: {% if r.cert %}{% blocktranslate trimmed with date=r.cert.not_after|date:"SHORT_DATE_FORMAT" %}until {{ date }}{% endblocktranslate %}{% else %}{% translate "none" context "certificate" %}{% endif %}{% if not forloop.last %}, {% endif %}{% empty %}{% translate "no customer" %}{% endfor %} · {% translate "Certificate & DNS" %}
{% translate "Theme" %}
{% if zone.theme_version %}{% blocktranslate trimmed with version=zone.theme_version %}Version {{ version }}{% endblocktranslate %}{% else %}{% translate "Package version" %}{% endif %} · {% translate "Theme" %}
{% translate "Customers" %}
{{ n_orgs }}
{% translate "Gateways" %}
{% blocktranslate trimmed with total=n_gateways online=n_online revoked=n_revoked %}{{ total }} total · {{ online }} online · {{ revoked }} blocked{% endblocktranslate %}{% if n_codes %} · {% blocktranslate trimmed count n=n_codes %}{{ n }} code open{% plural %}{{ n }} codes open{% endblocktranslate %}{% endif %}
{% translate "Phones" %}
{{ n_phones }}
{% if zone.contact_name or zone.contact_email %}
{% translate "Contact" %}
{{ zone.contact_name }} {% if zone.contact_email %}<{{ zone.contact_email }}>{% endif %}
{% endif %}
{% translate "Created" %}
{{ zone.created|date:"SHORT_DATETIME_FORMAT" }}

{% translate "Manage" %}

{% if zone.enabled %}

{% translate "Block organisation …" %} {% translate "All gateways and phones of the organisation lose access." %}

{% else %}
{% csrf_token %}

{% translate "Gateways that are not blocked individually are reachable again afterwards." %}

{% endif %}
{% endblock %}