Let registration pages set an appropriate <title>

This commit is contained in:
Frédéric Péters 2010-06-01 10:44:06 +02:00
parent 77c6a49abb
commit 928f07dffd
11 changed files with 45 additions and 0 deletions

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Account activation" %}
{% endblock %}
{% block content %}
{% if account %}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Log in" %}
{% endblock %}
{% block content %}
<form method="post" action=".">
{{ form.as_p }}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Logging out" %}
{% endblock %}
{% block content %}
<p>{% trans "Logged out" %}</p>
{% endblock %}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Changing password" %}
{% endblock %}
{% block content %}
<p>{% trans "Password changed" %}</p>
{% endblock %}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Changing password" %}
{% endblock %}
{% block content %}
<form method="post" action=".">
{{ form.as_p }}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Password reset successfully" %}
{% endblock %}
{% block content %}
<p>{% trans "Password reset successfully" %}</p>

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Resetting password" %}
{% endblock %}
{% block content %}
{% if validlink %}

View File

@ -1,6 +1,11 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Resetting password" %}
{% endblock %}
{% block content %}
<p>{% trans "Email with password reset instructions has been sent." %}</p>
{% endblock %}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Resetting password" %}
{% endblock %}
{% block content %}
<form method="post" action=".">
{{ form.as_p }}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Resetting password" %}
{% endblock %}
{% block content %}
<p>{% trans "You are now registered. Activation email sent." %}</p>
{% endblock %}

View File

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}
{% trans "Registration" %}
{% endblock %}
{% block content %}
<form method="post" action=".">
{{ form.as_p }}