mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Fix confirm email template
This commit is contained in:
parent
c41c723b0c
commit
dbefd3a0d7
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
<h4>{% blocktrans %}Confirmation email{% endblocktrans %}</h4>
|
||||
<p>{% blocktrans %}Confirm the email{% endblocktrans %} <a href="mailto:{{ email }}">{{ email }}</a> {% blocktrans %}for user {{ firstname }} {{ lastname }}.{% endblocktrans %}.</p>
|
||||
<p>{% blocktrans %}Confirm the email{% endblocktrans %} <a href="mailto:{{ email }}">{{ email }}</a> {% blocktrans %}for user {{ firstname }} {{ lastname }}.{% endblocktrans %}</p>
|
||||
{% trans "Confirm" as tr_confirm %}
|
||||
{% bootstrap_button tr_confirm button_type="submit" icon="ok" button_class="btn-success" %}
|
||||
</form>
|
||||
|
|
|
@ -1067,7 +1067,7 @@ def process_email(request, req):
|
|||
return redirect(reverse("index"))
|
||||
|
||||
return form(
|
||||
{"email": user.email, "firstname": user.firstname, "lastname": user.surname},
|
||||
{"email": user.email, "firstname": user.name, "lastname": user.surname},
|
||||
"users/confirm_email.html",
|
||||
request
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue