mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 18:31:10 +01:00
Issue #121: Formatting fix for e-mail subject. Thanks to Andreas Kotowicz for
the report.
This commit is contained in:
parent
2db9b0f432
commit
acc3f691b5
@ -26,3 +26,6 @@ opened in December. Thanks to Chris Vigelius for the report.
|
|||||||
|
|
||||||
2009-12-16 r145 issue #123 - Google Chart doesn't show when there is a large
|
2009-12-16 r145 issue #123 - Google Chart doesn't show when there is a large
|
||||||
volume of data in the system. This patch restricts the chart to 1000px wide.
|
volume of data in the system. This patch restricts the chart to 1000px wide.
|
||||||
|
|
||||||
|
2009-12-16 r146 Issue #121 Formatting fix for email subjects. Thanks,
|
||||||
|
Andreas Kotowicz.
|
||||||
|
2
lib.py
2
lib.py
@ -90,7 +90,7 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b
|
|||||||
).render(context)
|
).render(context)
|
||||||
|
|
||||||
subject_part = loader.get_template_from_string(
|
subject_part = loader.get_template_from_string(
|
||||||
"{{ ticket.ticket }} {{ ticket.title }} %s" % t.subject
|
"{{ ticket.ticket }} {{ ticket.title|safe }} %s" % t.subject
|
||||||
).render(context)
|
).render(context)
|
||||||
|
|
||||||
if type(recipients) != list:
|
if type(recipients) != list:
|
||||||
|
Loading…
Reference in New Issue
Block a user