mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 00:29:38 +01:00
make old subject_part pretty
This commit is contained in:
parent
b7baf2bf56
commit
787c3aa4f5
@ -82,8 +82,9 @@ def send_templated_mail(template_name,
|
|||||||
return # just ignore if template doesn't exist
|
return # just ignore if template doesn't exist
|
||||||
|
|
||||||
subject_part = from_string(
|
subject_part = from_string(
|
||||||
HELPDESK_EMAIL_SUBJECT_TEMPLATE % {"subject": t.subject}
|
HELPDESK_EMAIL_SUBJECT_TEMPLATE % {
|
||||||
).render(context).replace('\n', '').replace('\r', '')
|
"subject": t.subject
|
||||||
|
}).render(context).replace('\n', '').replace('\r', '')
|
||||||
|
|
||||||
footer_file = os.path.join('helpdesk', locale, 'email_text_footer.txt')
|
footer_file = os.path.join('helpdesk', locale, 'email_text_footer.txt')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user