{% extends "base.html" %}
{% load i18n %}
{% load translations %}

{% block breadcrumbs %}
<li><a href="{% url 'register' %}">{% trans "Registration" %}</a></li>
<li><a>{{ title }}</a></li>
{% endblock %}

{% block content %}

{% trans "You will find the confirmation link in your e-mail inbox." as msg %}
{% show_message "info" msg %}

<div class="panel panel-default">
  <div class="panel-heading">
    <h4 class="panel-title">
      {% if is_reset %}
        {% trans "Password reset almost complete" %}
      {% elif is_remove %}
        {% trans "Account removal almost complete" %}
      {% else %}
        {% trans "Registration almost complete" %}
      {% endif %}
    </h4>
  </div>
  <div class="panel-body">

    {% if is_reset %}
      <p>{% blocktrans %}Follow the password recovery instructions sent to your e-mail inbox.{% endblocktrans %}</p>
      <p>{% blocktrans %}Request a new confirmation link if it expires.{% endblocktrans %}</p>
    {% elif is_remove %}
      <p>{% blocktrans %}Remove your account by clicking the confirmation link in the e-mail sent to you.{% endblocktrans %}</p>
      <p>{% blocktrans %}Request a new confirmation link if it expires.{% endblocktrans %}</p>
    {% else %}
      <p>{% blocktrans %}Click the confirmation link sent to your e-mail inbox and start using your account.{% endblocktrans %}</p>
      <p>{% blocktrans %}Register again if the confirmation link expires.{% endblocktrans %}</p>
    {% endif %}

    <p>
      {% url 'contact' as contact_url %}
      {% blocktrans %}If it isn't in the spam folder either, you might have to register again. Please <a href="{{ contact_url }}">contact us</a> if you have problems.{% endblocktrans %}
    </p>
  </div>
</div>
{% endblock %}
