X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Fbase%2Flogin.html;h=00a1d121ea39cd697fefa42b18e2a546577388a4;hb=3b57264c77f8fc157a0129d406f4116c868c05b0;hp=834dac48765df80991081c7af898663f5dfeb20a;hpb=25f8408523048e3734758d970efaf12b1d7157db;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/base/login.html b/templates/base/login.html index 834dac4..00a1d12 100644 --- a/templates/base/login.html +++ b/templates/base/login.html @@ -1,19 +1,33 @@ {% extends "base/base.html" %} +{% load i18n %} {% block content %} {% if form.has_errors %} -

Your username and password didn't match. Please try again.

+

{% trans "Your username and password didn't match. Please try again." %}

{% endif %} +{% if user.is_authenticated %} +

{% blocktrans with user.username as username %}You are currently logged in as {{ username }}{% endblocktrans %}

+

{% trans "Logout" %}

+{% endif %} + +

+{% blocktrans with "http://www.evolution-events.nl" as ee_url and "http://www.evolution-events.nl/forum" as forum_url and "/forum/phpbb/profile.php?mode=register" as register_url %} +You can login with your Evolution Events +forum account. If you don't have a forum +account yet, first register. +{% endblocktrans %} +

- - + +
{{ form.username }}
{{ form.password }}
{{ form.username }}
{{ form.password }}
- + +
{% endblock %}