Skip to content

Commit

Permalink
templates/account: add custom template for email verification page
Browse files Browse the repository at this point in the history
fixes #5547
  • Loading branch information
goapunk authored and m4ra committed Feb 26, 2024
1 parent b4c3589 commit f771fbe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meinberlin/templates/account/password_reset_done.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% load allauth %}
{% load account %}

{% block head_title %}
{% block head_title %}
{% translate "Password Reset" %}
{% endblock head_title %}

Expand All @@ -14,6 +14,6 @@ <h1>{% translate "Password Reset" %}</h1>
{% include "account/snippets/already_logged_in.html" %}
{% endif %}
<p>
{% blocktrans %}We have sent you an e-mail. If you have not received it please check your spam folder. Otherwise contact us if you do not receive it in a few minutes.{% endblocktrans %}
{% blocktranslate %}We have sent you an e-mail. If you have not received it please check your spam folder. Otherwise contact us if you do not receive it in a few minutes.{% endblocktranslate %}
</p>
{% endblock content %}
12 changes: 12 additions & 0 deletions meinberlin/templates/account/verification_sent.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends "account/base.html" %}
{% load i18n %}
{% load allauth %}
{% block head_title %}
{% translate "Verify Your E-mail Address" %}
{% endblock head_title %}
{% block content %}
<h1>{% translate "Verify Your E-mail Address" %}</h1>
<p>
{% blocktranslate %}We have sent an e-mail to you for verification. Follow the link provided to finalize the signup process. If you do not see the verification e-mail in your main inbox, check your spam folder. Please contact us if you do not receive the verification e-mail within a few minutes.{% endblocktranslate %}
</p>
{% endblock content %}

0 comments on commit f771fbe

Please sign in to comment.