Revision 4abc7b29 snf-astakos-app/astakos/im/functions.py
b/snf-astakos-app/astakos/im/functions.py | ||
---|---|---|
53 | 53 |
""" |
54 | 54 |
user.is_active = True |
55 | 55 |
user.save() |
56 |
subject = _('Welcome to %s' % SITENAME) |
|
56 |
subject = _('Welcome to %s alpha2 testing' % SITENAME)
|
|
57 | 57 |
message = render_to_string(email_template_name, { |
58 | 58 |
'user': user, |
59 | 59 |
'url': urljoin(BASEURL, reverse('astakos.im.views.index')), |
... | ... | |
85 | 85 |
code=code, |
86 | 86 |
realname=realname) |
87 | 87 |
invitation.save() |
88 |
subject = _('Invitation to %s' % SITENAME) |
|
88 |
subject = _('Invitation to %s alpha2 testing' % SITENAME)
|
|
89 | 89 |
url = '%s?code=%d' % (urljoin(BASEURL, reverse('astakos.im.views.signup')), code) |
90 | 90 |
message = render_to_string('im/invitation.txt', { |
91 | 91 |
'invitation': invitation, |
Also available in: Unified diff