Browse Source

move confirmation mail to customization

master
parent
commit
935f189d96
No known key found for this signature in database GPG Key ID: 49B08FCFF6BC3B2
1 changed files with 1 additions and 25 deletions
  1. +1
    -25
      c3smembership/views/afm.py

+ 1
- 25
c3smembership/views/afm.py View File

@@ -541,32 +541,8 @@ def success_check_email(request):
except:
return HTTPFound(location=request.route_url('join'))

if 'de' in appstruct['person']['locale']:
the_mail_body = u'''
Hallo {} {}!

bitte benutze diesen Link um deine E-Mail-Adresse zu bestätigen
und dein PDF herunterzuladen:

{}/verify/{}/{}

Danke!

Dein C3S Team
'''
else:
the_mail_body = u'''
Hello {} {}!

please use this link to verify your email address
and download your personalised PDF:

{}/verify/{}/{}

thanks!

Your C3S team
'''
the_mail_body = customization.address_confirmation_mail.get(appstruct['person']['locale'],'en')
the_mail = Message(
subject=request.localizer.translate(_(
'check-email-paragraph-check-email-subject',


Loading…
Cancel
Save