From 6155857dcd9a88d07756c465df42c5155c7183dc Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 10 Nov 2017 20:44:21 -0500 Subject: User registration works. User invites work but has no UI --- app/dispatch/templates/dispatch/invite_email.txt | 7 +++++++ app/dispatch/templates/registration/activation_complete.html | 8 ++++++++ app/dispatch/templates/registration/activation_email.txt | 9 +++++++++ 3 files changed, 24 insertions(+) create mode 100644 app/dispatch/templates/dispatch/invite_email.txt (limited to 'app/dispatch/templates') 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 @@

Your Account activation was successful! +
+ You will be redirected to the sign in page momentarily, if not click here

+ + {% 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 %} -- cgit v1.2.3