From 6ea1a7c77fc3540e85bc2fc3fc303eab2a54237a Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 30 Jan 2022 10:19:08 +0100 Subject: [PATCH] Override logout template --- photo21/templates/account/logout.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 photo21/templates/account/logout.html diff --git a/photo21/templates/account/logout.html b/photo21/templates/account/logout.html new file mode 100644 index 0000000..7db6ac3 --- /dev/null +++ b/photo21/templates/account/logout.html @@ -0,0 +1,24 @@ +{% extends "account/base.html" %} +{% comment %} +SPDX-License-Identifier: GPL-2.0-or-later +{% endcomment %} +{% load i18n %} +{% block head_title %}{% trans "Sign Out" %}{% endblock %} + +{% block content %} +
+

+ {% trans "Sign Out" %} +

+
+

{% trans 'Are you sure you want to sign out?' %}

+
+ {% csrf_token %} + {% if redirect_field_value %} + + {% endif %} + +
+
+
+{% endblock %}