{% extends "base.html" %}

{% load i18n %}

{% block title %}{% trans "Account Activated" %} | {{ block.super }}{% endblock %}

{% block breadcrumbs %}
{{ block.super }}<li>{% trans "Account Activated" %}</li>
{% endblock %}

{% block content %}
{% if account %}
<div class="form message success">
  <h2>{% trans "Account Activated" %}</h2>
  <p>{% blocktrans %}The account has been activated for username "{{ account }}". You can now proceed to log in.{% endblocktrans %}</p>
</div>
{% else %}
<div class="form message error">
  <h2>{% trans "Activation Failed" %}</h2>
  <p>{% blocktrans %}This account activation code has expired or is not valid.{% endblocktrans %}</p>
</div>
{% endif %}
{% endblock %}
