{% extends "base.html" %} {% load i18n verification_tags %} {% block content %}

{{ domain.name }}

{% if not domain.validated %} {% if user.is_superuser %}

{% trans "This domain is not validated yet. You can validate it using three different ways:" %}

{% else %}

{% trans "This domain is not validated yet. You can validate it using two different ways:" %}

{% endif %}

{% trans "HTTP validation" %}

  1. {% trans "Make sure this link is not broken:" %} {{ domain.validation_url }}. {% trans "An HTTP request to that resource should return an HTTP 200 response" %}
  2. {% trans "Click on the verification button:" %} {% verification_button domain "http" %}

{% trans "DNS validation" %}

  1. {% trans "Add this value to a TXT record of your domain:" %} {{ domain.validation_key }}
  2. {% trans "Click on the verification button:" %} {% verification_button domain "dns" %}
{% if user.is_superuser %}

{% trans "Manual validation (only for super administrators)" %}

{% trans "Or, as an administrator you can forcefully set the ownership of this domain as verified:" %}

  1. {% trans "Click on the verification button:" %}
    {% csrf_token %} {% trans "Verify ownership by force" %}
{% endif %} {% else %}

{% trans "This domain is already verified. If you want to verify it again you need to delete it first." %}

{% endif %}
{% endblock %}