django-fobi/examples/simple/templates/registration/activate.html
Artur Barseghyan f315c9bcc6 initial
2014-10-11 05:54:24 +02:00

25 lines
989 B
HTML

{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block page-title %}{% if account %}{% trans "Activation complete" %}{% else %}{% trans "Activation problem" %}{% endif %}{% endblock page-title %}
{% block body-attrs %} class="standalone"{% endblock body-attrs %}
{% block content %}
{% url 'auth_login' as auth_login_url %}
<div class="{{ fobi_theme.custom_data.page_header_html_class }}">
<h1>{% if account %}{% trans "Activation complete" %}{% else %}{% trans "Activation problem" %}{% endif %}</h1>
</div>
<p>
{% if account %}
{% blocktrans %}
Thanks {{ account }}, activation complete!
You may now <a href='{{ auth_login_url }}'>login</a> using the username and password you set at registration.
{% endblocktrans %}
{% else %}
{% blocktrans %}Oops &ndash; it seems that your activation key is invalid. Please check the url again.{% endblocktrans %}
{% endif %}
</p>
{% endblock content %}