mirror of https://gitlab.federez.net/re2o/re2o
Browse Source
This patch remove the custom rule in router responsible to redirect logout to index page and place a template with pre-translated strings. This is part of Aube patchset for Re2o to unify the login procedure with Django Contrib Auth.broaden_customised_reminder_message
committed by
klafyvel
2 changed files with 18 additions and 2 deletions
@ -0,0 +1,18 @@ |
|||
{% extends "registration/logged_out.html" %} |
|||
{% comment %} |
|||
SPDX-License-Identifier: GPL-2.0-or-later |
|||
|
|||
Copyright © 2019 Alexandre Iooss |
|||
{% endcomment %} |
|||
{% load i18n %} |
|||
|
|||
{% block breadcrumbs %} |
|||
<div class="breadcrumbs"> |
|||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> |
|||
</div> |
|||
{% endblock %} |
|||
|
|||
{% block content %} |
|||
<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p> |
|||
<p><a href="{% url 'index' %}">{% trans 'Log in again' %}</a></p> |
|||
{% endblock %} |
|||
Loading…
Reference in new issue