1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

[i18n] Update source string

This commit is contained in:
zhengxie
2018-01-12 17:53:58 +08:00
parent 2abfa3fd53
commit 06ee26e7d3
6 changed files with 751 additions and 829 deletions

View File

@@ -334,12 +334,12 @@ def notify_admins_on_register_complete(reg_email):
"reg_email": reg_email,
}
subject = render_to_string('registration/register_complete_email_subject.txt',
subject = render_to_string('registration/register_complete_email_subject.html',
ctx_dict)
# Email subject *must not* contain newlines
subject = ''.join(subject.splitlines())
message = render_to_string('registration/register_complete_email.txt',
message = render_to_string('registration/register_complete_email.html',
ctx_dict)
admins = User.objects.get_superusers()