Update emails
This commit is contained in:
parent
164a712902
commit
af5bee5147
18 changed files with 481 additions and 170 deletions
21
templates/email_change/email_change.html
Normal file
21
templates/email_change/email_change.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block media %}
|
||||
<style type="text/css">
|
||||
.errorlist {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
color: red;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<form action="" method="post" class="form-area">{% csrf_token %}
|
||||
<table border="0">{{ form.as_table() }}</table>
|
||||
<hr>
|
||||
<button style="float:right;" type="submit">{{ _('Verify Email') }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
4
templates/email_change/email_change_failure.html
Normal file
4
templates/email_change/email_change_failure.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{% extends "base.html" %}
|
||||
{% block body %}
|
||||
<p>{{ _('Invalid reset link.') }}</p>
|
||||
{% endblock %}
|
6
templates/email_change/email_change_pending.html
Normal file
6
templates/email_change/email_change_pending.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
{% block body %}
|
||||
{% if request.profile.email_change_pending %}
|
||||
<p>{{ _('An email was sent to') }} {{request.profile.email_change_pending}}. {{_('If you don\'t see it, kindly check your spam folder as well.')}}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
4
templates/email_change/email_change_success.html
Normal file
4
templates/email_change/email_change_success.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{% extends "base.html" %}
|
||||
{% block body %}
|
||||
<p>{{ _('Your email was sucessfully changed to') }} {{user.email}}</p>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue