diff options
Diffstat (limited to 'app/dispatch/templates')
| -rw-r--r-- | app/dispatch/templates/dispatch/invite_email.txt | 7 | ||||
| -rw-r--r-- | app/dispatch/templates/registration/activation_complete.html | 8 | ||||
| -rw-r--r-- | app/dispatch/templates/registration/activation_email.txt | 9 |
3 files changed, 24 insertions, 0 deletions
diff --git a/app/dispatch/templates/dispatch/invite_email.txt b/app/dispatch/templates/dispatch/invite_email.txt new file mode 100644 index 0000000..eb888a6 --- /dev/null +++ b/app/dispatch/templates/dispatch/invite_email.txt @@ -0,0 +1,7 @@ +Hi {{name}}, + +You've been invited by {{user.first_name}} to register + +Please click the following link to start this process + +{{site}}{% url 'registration_register' %} diff --git a/app/dispatch/templates/registration/activation_complete.html b/app/dispatch/templates/registration/activation_complete.html index 6f8929e..3400219 100644 --- a/app/dispatch/templates/registration/activation_complete.html +++ b/app/dispatch/templates/registration/activation_complete.html @@ -7,8 +7,16 @@ <div class="col s12"> <p> Your Account activation was successful! + <br> + You will be redirected to the sign in page momentarily, if not <a href="{% url 'login' %}">click here</a> </p> </div> </div> +<script> +setTimeout(function () { + window.location.href = "/login"; +}, 2000); +</script> + {% endblock %} diff --git a/app/dispatch/templates/registration/activation_email.txt b/app/dispatch/templates/registration/activation_email.txt index 66b7b05..408cf77 100644 --- a/app/dispatch/templates/registration/activation_email.txt +++ b/app/dispatch/templates/registration/activation_email.txt @@ -1,4 +1,13 @@ +Hi {{user.first_name}}, + +Please click the following link to activate your account: + +http://{{site}}{% url 'registration_activate' activation_key %} + + +{% if False %} Activation key: {{activation_key}} Site: {{site}} Expiration date: {{expiration_days}} User model {{user}} +{% endif %} |
