From 170eb2081cc8a753968b68b6129c4b929f05c472 Mon Sep 17 00:00:00 2001 From: Yasin Date: Thu, 26 Jun 2014 15:42:18 +0200 Subject: [PATCH 1/1] user-sign up: update email template --- portal/registrationview.py | 2 +- portal/templates/activate_user.html | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/portal/registrationview.py b/portal/registrationview.py index 2fbdf239..f2fe7b96 100644 --- a/portal/registrationview.py +++ b/portal/registrationview.py @@ -68,7 +68,7 @@ class RegistrationView (FreeAccessView, ThemeView): 'password' : wsgi_request.POST.get('password', ''), 'current_site' : current_site, 'email_hash' : email_hash, - 'validation_link': 'https://' + current_site + '/portal/email_activation/'+ email_hash + 'validation_link': 'http://' + current_site + '/portal/email_activation/'+ email_hash } # Construct user_hrn from email (XXX Should use common code) diff --git a/portal/templates/activate_user.html b/portal/templates/activate_user.html index 54378671..ada08c85 100644 --- a/portal/templates/activate_user.html +++ b/portal/templates/activate_user.html @@ -1,9 +1,8 @@

We have received a user signup request for your email address at {{current_site}}

-

You have the following user details:

-
+ Organisation: {{authority_hrn}}
First name: {{first_name}}
Last name: {{last_name}}
@@ -13,7 +12,7 @@ Email: {{email}}

You may now log in to the portal using your email address and the password that you provided, but your access will be limited. To gain full access, two steps are required:

-
+ -

-We look forward to welcoming you to OneLab. You will find answers to frequently asked questions here. -Please don't hesitate to contact us with any additional questions that you might have. +We look forward to welcoming you to OneLab. You will find answers to frequently asked questions here. +Please don't hesitate to contact us with any additional questions that you might have.

-- 2.45.2