{% load i18n %}
<html>
  <body style="max-width: 90ex">
    {% if not existing_accounts %}
      <p>{% blocktrans %}You requested registration on {{ site }}. To finish your registration, please
        <a href="{{ registration_url }}">click here</a>{% endblocktrans %}
      </p>
    {% else %}
      <p>{% blocktrans %}You requested registration on {{ site }}. You already have an
        account to login, <a href="{{ registration_url }}">click here</a>{% endblocktrans %}
      </p>
    {% endif %}

    {% if expiration_days > 1 %}
    <p>{% blocktrans %}This link is valid for {{ expiration_days }} days.{% endblocktrans %}</>
    {% else %}
    <p>{% blocktrans %}This link is valid for 24 hours.{% endblocktrans %}</>
    {% endif %}

    <p>{% blocktrans %}If you did not register on {{ site }}, ignore this email.{% endblocktrans %}</p>
  </body>
</html>
