mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 16:15:12 +02:00
Add email template "merged" thanks to a migration and add merged_to field into the safe ticket context.
This commit is contained in:
@ -26,7 +26,7 @@ def ticket_template_context(ticket):
|
||||
for field in ('title', 'created', 'modified', 'submitter_email',
|
||||
'status', 'get_status_display', 'on_hold', 'description',
|
||||
'resolution', 'priority', 'get_priority_display',
|
||||
'last_escalation', 'ticket', 'ticket_for_url',
|
||||
'last_escalation', 'ticket', 'ticket_for_url', 'merged_to',
|
||||
'get_status', 'ticket_url', 'staff_url', '_get_assigned_to'
|
||||
):
|
||||
attr = getattr(ticket, field, None)
|
||||
|
Reference in New Issue
Block a user