Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions inyoka_theme_default/templates/portal/confirm.html
Original file line number Diff line number Diff line change
@@ -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 %}
<p class="success">{{ success }}</p>
{% elif failed %}
<p class="fail">{{ failed }}</p>
{% else %}
{% if action == 'reactivate_user' %}
<p>{% trans %}You can restore your account here if you deleted it. Please note that this is only possible one month after the deletion.{% endtrans %}</p>
{% elif action == 'reset_email' %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing the set_new_email action.

<p>{% trans %}You can reset your email address here if you changed it accidently.{% endtrans %}</p>
{% endif %}

<form method="post" action="">
{{ csrf_token() }}
<p>{% trans %}Please enter the string which was sent to you by email below:{% endtrans %}</p>
<p><textarea name="data" cols="80" rows="5"></textarea></p>
<p><input type="submit" value="{% trans %}Submit{% endtrans %}" /></p>
</form>
{% endif %}
{% endblock %}