From: Yasin Date: Thu, 26 Jun 2014 13:42:18 +0000 (+0200) Subject: user-sign up: update email template X-Git-Tag: myslice-1.1~60^2~27 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=170eb2081cc8a753968b68b6129c4b929f05c472;p=myslice.git user-sign up: update email template --- 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.