Skip to content

Commit

Permalink
[#2474] Textual changes for the e-mailverification flow
Browse files Browse the repository at this point in the history
  • Loading branch information
alextreme committed Oct 18, 2024
1 parent 0ee4d7d commit ca2d969
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% render_column span=9 %}
{% render_card tinted=True %}
{% get_solo 'configurations.SiteConfiguration' as config %}
<h1 class="utrecht-heading-1">{% trans "E-mailadres bevestigen" %}</h1><br>
<h1 class="utrecht-heading-1">{% trans "E-mail is verzonden" %}</h1><br>
{% if verification_text %}<p class="utrecht-paragraph">{{ verification_text|linebreaksbr }}</p><br>{% endif %}
<form method="POST" id="email-verification-form" action="{{ request.get_full_path }}" class="form" novalidate>
{% csrf_token %}
Expand Down
5 changes: 3 additions & 2 deletions src/open_inwoner/accounts/views/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,13 @@ def page_title(self):
def get_context_data(self, **kwargs):
ctx = super().get_context_data(**kwargs)
text = _(
"Om door te gaan moet je jouw e-mailadres {email} bevestigen, we hebben je een e-mail gestuurd naar dit adres."
"Er is een e-mail verstuurd naar {email}. Klik op de link in de mail om uw e-mailadres te bevestigen."
"Heef u geen e-mail ontvangen? Verstuur deze dan nog een keer via onderstaande knop."
)
ctx["verification_text"] = html_tag_wrap_format(
text, "strong", email=self.request.user.email
)
ctx["button_text"] = _("Verificatie email nogmaals verzenden")
ctx["button_text"] = _("Verstuur de e-mail opnieuw")

return ctx

Expand Down

0 comments on commit ca2d969

Please sign in to comment.