From ec402301acbfdb2fc6d944965fa15f5f8e20d6ec Mon Sep 17 00:00:00 2001 From: Christoph Volkert Date: Sat, 9 Sep 2017 22:22:06 +0200 Subject: [PATCH] Add portal/confirm.html --- .../templates/portal/confirm.html | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 inyoka_theme_default/templates/portal/confirm.html diff --git a/inyoka_theme_default/templates/portal/confirm.html b/inyoka_theme_default/templates/portal/confirm.html new file mode 100644 index 0000000..985b643 --- /dev/null +++ b/inyoka_theme_default/templates/portal/confirm.html @@ -0,0 +1,32 @@ +{# + portal/confirm.html + ~~~~~~~~~~~~~~~~~~~ + + The user can confirm various actions here. With the action flag the + messages can be customized. + + :copyright: (c) 2013-2017 by the Inyoka Team, see AUTHORS for more details. + :license: BSD, see LICENSE for more details. +#} +{% extends 'portal/base.html' %} + +{% block content %} + {% if success %} +

{{ success }}

+ {% elif failed %} +

{{ failed }}

+ {% else %} + {% if action == 'reactivate_user' %} +

{% trans %}You can restore your account here if you deleted it. Please note that this is only possible one month after the deletion.{% endtrans %}

+ {% elif action == 'reset_email' %} +

{% trans %}You can reset your email address here if you changed it accidently.{% endtrans %}

+ {% endif %} + +
+ {{ csrf_token() }} +

{% trans %}Please enter the string which was sent to you by email below:{% endtrans %}

+

+

+
+ {% endif %} +{% endblock %}