link fixing (leave me alone, i18n)

This commit is contained in:
Arne Schauf 2013-09-29 16:26:31 +02:00
parent 7d49c1a40c
commit d7e02ed95c
3 changed files with 7 additions and 13 deletions

View File

@ -1,11 +1,9 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% url 'auth_login' as auth_login_url %}
{% block title %}{% trans "Activation complete" %}{% endblock %}
{% block title %}Activation complete{% endblock %}
{% block content %}
{% blocktrans %}
Thanks, activation complete! You may now <a href='{{ auth_login_url }}'>login</a> using the username and password you set at registration.
{% endblocktrans %}
<h1>Thanks, activation complete!</h1>
<p>You may now <a href="{% url 'auth_login' %}">login</a> using the username and password you set at registration.</p>
{% endblock %}

View File

@ -1,15 +1,11 @@
{% load i18n %}
{% url 'registration_activate' activation_key as activation_key_url%}
{% blocktrans with sitename=site.name siteurl=site.domain %}
You (or someone pretending to be you) have asked to register an account at
{{ sitename }}. If this wasn't you, please ignore this email
{{ site.name }}. If this wasn't you, please ignore this email
and your address will be removed from our records.
To activate this account, please click the following link within the next
{{ expiration_days }} days:
http://{{ siteurl }}{{ activation_key_url }}
http://{{ site.domain }}{% url 'registration_activate' %}
Sincerely,
{{ sitename }} Management
{% endblocktrans %}
{{ site.name }} Management

View File

@ -1 +1 @@
{% load i18n %}{% blocktrans with sitename=site.name %}Account registration for {{ sitename }}{% endblocktrans %}
Account registration for {{ site.name }}