X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Fbase%2Flogin.html;h=11db79d0ec3379bba517871cb4adad46bd336239;hb=af8b0734bb6d1f7475e63f20e128266e711baad2;hp=834dac48765df80991081c7af898663f5dfeb20a;hpb=25f8408523048e3734758d970efaf12b1d7157db;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/base/login.html b/templates/base/login.html index 834dac4..11db79d 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 %}