2013-09-28 12:43:57 +02:00
|
|
|
{% extends "registration/registration_base.html" %}
|
2014-05-23 17:22:32 +02:00
|
|
|
{% load i18n %}{% load bootstrap %}
|
2013-09-28 12:43:57 +02:00
|
|
|
{% url 'auth_login' as auth_login_url %}
|
|
|
|
{% block title %}{% if account %}{% trans "Activation complete" %}{% else %}{% trans "Activation problem" %}{% endif %}{% endblock %}
|
2014-10-28 17:10:53 +01:00
|
|
|
|
2013-09-28 12:43:57 +02:00
|
|
|
{% block content %}
|
|
|
|
{% if account %}
|
2014-10-28 17:10:53 +01:00
|
|
|
<h2>{% trans 'Thanks, activation complete!' %}</h2>
|
|
|
|
<p>{% trans 'You may now login using the username and password you set at registration.' %}</p>
|
|
|
|
<p><a href="{{ login_url }}"><button class="btn btn-primary" type="button">{% trans "Log in" %}</button></a></p>
|
2013-09-28 12:43:57 +02:00
|
|
|
{% else %}
|
2014-10-28 17:10:53 +01:00
|
|
|
<h2>{% trans 'Oops' %}</h2>
|
|
|
|
<p>{% trans 'it seems that your activation key is invalid. Please check the url again.' %}</p>
|
2013-09-28 12:43:57 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|