Adds email template layout and formatting
This commit is contained in:
@ -1,2 +1,15 @@
|
||||
{% extends 'email/html_layout.html' %}
|
||||
{% load i18n %}
|
||||
{% blocktrans %}Your password reset link is: {{ reset_link }}{% endblocktrans %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
{% blocktrans %}You requested to reset your {{ site_name }} password. Click the link below to set a new password and log in to your account.{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
{% trans "Reset Password" as text %}
|
||||
{% include 'email/snippets/action.html' with path=reset_link text=text %}
|
||||
|
||||
<p>
|
||||
{% trans "If you didn't request to reset your password, you can ignore this email." %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
@ -1,2 +1,2 @@
|
||||
{% load i18n %}
|
||||
{% blocktrans %}Reset your password on {{ site_name }}{% endblocktrans %}
|
||||
{% blocktrans %}Reset your {{ site_name }} password{% endblocktrans %}
|
||||
|
@ -1,2 +1,9 @@
|
||||
{% extends 'email/text_layout.html' %}
|
||||
{% load i18n %}
|
||||
{% blocktrans %}Your password reset link is: {{ reset_link }}{% endblocktrans %}
|
||||
{% block content %}
|
||||
{% blocktrans %}You requested to reset your {{ site_name }} password. Click the link below to set a new password and log in to your account.{% endblocktrans %}
|
||||
|
||||
{{ reset_link }}
|
||||
|
||||
{% trans "If you didn't request to reset your password, you can ignore this email." %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user