diff --git a/fixtures/initial_data.json b/fixtures/initial_data.json index 2389b4af..4ed24f76 100644 --- a/fixtures/initial_data.json +++ b/fixtures/initial_data.json @@ -1 +1,178 @@ -[{"pk": "1", "model": "helpdesk.emailtemplate", "fields": {"template_name": "assigned_cc", "html": "

Hello,<\/p>\n\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }}<\/b><\/a> ({{ ticket.title }}<\/em>) has been {% if ticket.assigned_to %}assigned to {{ ticket.assigned_to }}{% else %}unassigned{% endif %}.<\/p>", "plain_text": "Hello,\n\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") has been {% if ticket.assigned_to %}assigned to {{ ticket.assigned_to }}{% else %}unassigned{% endif %}\n\nYou can view this online at {{ ticket.staff_url }}.", "heading": "Ticket Assigned", "subject": "(Assigned)"}}, {"pk": "2", "model": "helpdesk.emailtemplate", "fields": {"template_name": "assigned_owner", "html": "

Hello,<\/p>\n\n\n

This is a courtesy e-mail to let you know that a ticket has been assigned to you.<\/p>\n\n

{% if ticket.submitter_email %}The ticket was submitted by {{ ticket.submitter_email }}, and the subject{% else %}The ticket subject{% endif%} is {{ ticket.title }}<\/i>.<\/p>\n\n

The ticket ID is {{ ticket.ticket }}<\/a><\/b>. It\"s priority is {{ ticket.get_priority_display }}.<\/p>", "plain_text": "Hello,\n\nThis is a courtesy e-mail to let you know that a ticket has been assigned to you.\n\n{% if ticket.submitter_email %}The ticket was submitted by {{ ticket.submitter_email }}, and the subject{% else %}The ticket subject{% endif%} is {{ ticket.title }}.\n\nThe ticket ID is {{ ticket.ticket }}, you can view it online at {{ ticket.staff_url }}. It\"s priority is {{ ticket.get_priority_display }}.", "heading": "Ticket Assigned To You", "subject": "(Assigned)"}}, {"pk": "3", "model": "helpdesk.emailtemplate", "fields": {"template_name": "closed_cc", "html": "

Hello,<\/p>\n\n

Ticket {{ ticket.title }}<\/i> ('{{ ticket.title }}') has been closed.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nTicket {{ ticket.title }} (\"{{ ticket.title }}\") has been closed.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Closed", "subject": "(Closed)"}}, {"pk": "4", "model": "helpdesk.emailtemplate", "fields": {"template_name": "closed_owner", "html": "

Hello,<\/p>\n\n

A ticket currently assigned to you with a subject of {{ ticket.title }}<\/i> has been closed.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nA ticket currently assigned to you with a subject of \"{{ ticket.title }}\" has been closed.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Closed", "subject": "(Closed)"}}, {"pk": "5", "model": "helpdesk.emailtemplate", "fields": {"template_name": "closed_submitter", "html": "

Hello,<\/p>\n\n

You recently logged a ticket with a subject of {{ ticket.title }}<\/i> with us. This e-mail is to confirm that this ticket has been closed.<\/p>\n\n

If you believe that further work is required on this ticket, please let us know by replying to this e-mail and keeping the subject intact.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to confirm that this ticket has been closed.\n\nIf you believe that further work is required on this ticket, please let us know by replying to this e-mail and keeping the subject intact.\n\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.", "heading": "Ticket Closed", "subject": "(Closed)"}}, {"pk": "6", "model": "helpdesk.emailtemplate", "fields": {"template_name": "escalated_cc", "html": "

Hello,<\/p>\n\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }}<\/b><\/a> ({{ ticket.title }}<\/em>) has been escalated automatically.<\/p>", "plain_text": "Hello,\n\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") has been escalated automatically.\n\nYou can view this online at {{ ticket.staff_url }}.", "heading": "Ticket Escalated", "subject": "(Escalated)"}}, {"pk": "8", "model": "helpdesk.emailtemplate", "fields": {"template_name": "escalated_owner", "html": "

Hello,<\/p>\n\n

A ticket currently assigned to you with a subject of {{ ticket.title }}<\/i> has been automatically escalated.<\/p>\n\n

Please review this ticket and attempt to provide a resolution as soon as possible.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nA ticket currently assigned to you with a subject of \"{{ ticket.title }}\" has been automatically escalated.\n\nPlease review this ticket and attempt to provide a resolution as soon as possible.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Assigned to You Has Been Escalated", "subject": "(Escalated)"}}, {"pk": "7", "model": "helpdesk.emailtemplate", "fields": {"template_name": "escalated_submitter", "html": "

Hello,<\/p>\n\n

You recently logged a ticket with a subject of {{ ticket.title }}<\/i> with us. This e-mail is to advise you of an automated escalation of that ticket.<\/p>\n\n

We will review your ticket shortly and attempt to provide a resolution as soon as possible.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to advise you of an automated escalation of that ticket.\n\nWe will review your ticket shortly and attempt to provide a resolution as soon as possible.\n\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.", "heading": "Your Ticket Has Been Escalated", "subject": "(Escalated)"}}, {"pk": "9", "model": "helpdesk.emailtemplate", "fields": {"template_name": "newticket_cc", "html": "

Hello,<\/p>\n\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }}<\/b><\/a> ({{ ticket.title }}<\/em>) has been opened.<\/p>", "plain_text": "Hello,\n\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") has been opened.\n\nYou can view this online at {{ ticket.staff_url }}.", "heading": "New Ticket Opened", "subject": "(Opened)"}}, {"pk": "10", "model": "helpdesk.emailtemplate", "fields": {"template_name": "newticket_submitter", "html": "

Hello,<\/p>\n\n\n

This is a courtesy e-mail to let you know that we have received your helpdesk query with a subject of {{ ticket.title }}<\/i>. <\/p>\n\n

You do not have to do anything further at this stage. Your ticket has been assigned a number of {{ ticket.ticket }}<\/b>.<\/p>\n\n

If you wish to send us further details, or if you have any queries about this ticket, please include the ticket id of {{ ticket.ticket }}<\/b> in the subject. The easiest way to do this is just press \"reply\" to this message.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}<\/a>.<\/p>\n\n

We will investigate your query and attempt to resolve it as soon as possible. You will receive further updates and a resolution via this e-mail address.<\/p>", "plain_text": "Hello,\n\nThis is a courtesy e-mail to let you know that we have received your helpdesk query with a subject of {{ ticket.title }}. \n\nYou do not have to do anything further at this stage. Your ticket has been assigned a number of {{ ticket.ticket }}.\n\nIf you wish to send us further details, or if you have any queries about this ticket, please include the ticket id of {{ ticket.ticket }} in the subject. The easiest way to do this is just press \"reply\" to this message.\n\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.\n\nWe will investigate your query and attempt to resolve it as soon as possible. You will receive further updates and a resolution via this e-mail address.", "heading": "Your Ticket Has Been Opened", "subject": "(Opened)"}}, {"pk": "11", "model": "helpdesk.emailtemplate", "fields": {"template_name": "resolved_cc", "html": "

Hello,<\/p>\n\n

Ticket {{ ticket.ticket }} ({{ ticket.title }}<\/i>) has been resolved.<\/p>\n\n

The following resolution was added:<\/p>\n\n

{{ resolution }}<\/blockquote>\n\n

This resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nTicket {{ ticket.ticket }} ({{ ticket.title }}) has been resolved.\n\nThe following resolution was added:\n\n{{ resolution }}\n\nThis resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Resolved", "subject": "(Resolved)"}}, {"pk": "12", "model": "helpdesk.emailtemplate", "fields": {"template_name": "resolved_owner", "html": "

Hello,<\/p>\n\n

A ticket currently assigned to you with a subject of {{ ticket.title }}<\/i> has had a resolution added.<\/p>\n\n

The following resolution was added to ticket {{ ticket.ticket }}<\/b>:<\/p>\n\n

{{ resolution }}<\/blockquote>\n\n

This resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nA ticket currently assigned to you with a subject of {{ ticket.title }} has had a resolution added.\n\nThe following resolution was added to ticket {{ ticket.ticket }}:\n\n{{ resolution }}\n\nThis resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Resolved", "subject": "(Resolved)"}}, {"pk": "13", "model": "helpdesk.emailtemplate", "fields": {"template_name": "resolved_submitter", "html": "

Hello,<\/p>\n\n

You recently logged a ticket with a subject of {{ ticket.title }}<\/i> with us. This e-mail is to advise you of a resolution to that ticket.<\/p>\n\n

The following resolution was added to ticket {{ ticket.ticket }}<\/b>:<\/p>\n\n

{{ resolution }}<\/blockquote>\n\n

Can you please confirm that this resolution addresses your needs so we may close this ticket? If you have any further queries, or if you do not believe this resolution is adequate, please reply to this e-mail and keep the subject intact.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to advise you of a resolution to that ticket.\n\nThe following resolution was added to ticket {{ ticket.ticket }}:\n\n{{ resolution }}\n\nCan you please confirm that this resolution addresses your needs so we may close this ticket? If you have any further queries, or if you do not believe this resolution is adequate, please reply to this e-mail and keep the subject intact.\n\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.", "heading": "Your Ticket Has Been Resolved", "subject": "(Resolved)"}}, {"pk": "14", "model": "helpdesk.emailtemplate", "fields": {"template_name": "updated_cc", "html": "

Hello,<\/p>\n\n

Ticket {{ ticket.ticket }}<\/a> ({{ ticket.title }}<\/em>) has been updated.<\/p>\n\n

The following comment was added:<\/p>\n\n

{{ comment }}<\/blockquote>\n\n

This information has {% if private %}not {% endif %} been e-mailed to the submitter.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nTicket {{ ticket.ticket }} ({{ ticket.title }}) has been updated.\n\nThe following comment was added:\n\n{{ comment }}\n\nThis information has {% if private %}not {% endif %} been e-mailed to the submitter.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Updated", "subject": "(Updated)"}}, {"pk": "15", "model": "helpdesk.emailtemplate", "fields": {"template_name": "updated_owner", "html": "

Hello,<\/p>\n\n

Ticket {{ ticket.ticket }}<\/a> ({{ ticket.title }}<\/em>), which is assigned to you, has been updated.<\/p>\n\n

The following comment was added to ticket {{ ticket.ticket }}<\/b>:<\/p>\n\n

{{ comment }}<\/blockquote>\n\n

This information has {% if private %}not {% endif %} been e-mailed to the submitter.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nTicket {{ ticket.ticket }} ({{ ticket.title }}), which is assigned to you, has been updated.\n\nThe following comment was added to ticket {{ ticket.ticket }}:\n\n{{ comment }}\n\nThis information has {% if private %}not {% endif %} been e-mailed to the submitter.\n\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", "heading": "Ticket Updated", "subject": "(Updated)"}}, {"pk": "16", "model": "helpdesk.emailtemplate", "fields": {"template_name": "updated_submitter", "html": "

Hello,<\/p>\n\n

You recently logged a ticket with a subject of {{ ticket.title }}<\/i> with us. This e-mail is to advise you of an update to that ticket.<\/p>\n\n

The following comment was added to ticket {{ ticket.ticket }}<\/b>:<\/p>\n\n

{{ comment }}<\/blockquote>\n\n

To provide us with further information, please reply to this e-mail.<\/p>\n\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}<\/a>.<\/p>", "plain_text": "Hello,\n\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to advise you of an update to that ticket.\n\nThe following comment was added to ticket {{ ticket.ticket }}:\n\n{{ comment }}\n\nTo provide us with further information, please reply to this e-mail.\n\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.", "heading": "Your Ticket Has Been Updated", "subject": "(Updated)"}}] +[ + { + "pk": 1, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "assigned_cc", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} ({{ ticket.title }}) for {{ ticket.submitter_email }} has been {% if ticket.assigned_to %}assigned to {{ ticket.assigned_to }}{% else %}unassigned{% endif %}.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") for {{ ticket.submitter_email }} has been {% if ticket.assigned_to %}assigned to {{ ticket.assigned_to }}{% else %}unassigned{% endif %}.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }}\r\n\r\nThe original ticket description was:\r\n\r\n{{ ticket.description }}", + "heading": "Ticket Assigned", + "subject": "(Assigned)" + } + }, + { + "pk": 2, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "assigned_owner", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} ({{ ticket.title }}) for {{ ticket.submitter_email }} has been assigned to you.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: YOU
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") for {{ ticket.submitter_email }} has been assigned to you.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: YOU\r\nView Online: {{ ticket.staff_url }}\r\n\r\nThe original ticket description was:\r\n\r\n{{ ticket.description }}", + "heading": "Ticket Assigned To You", + "subject": "(Assigned To You)" + } + }, + { + "pk": 3, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "closed_cc", + "html": "

Hello,

\r\n\r\n

Ticket {{ ticket.title }} ('{{ ticket.title }}'){% if ticket.assigned_to %}, assigned to {{ ticket.get_assigned_to }}{% endif %} has been closed.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
\r\n\r\n

The resolution provided was:

\r\n\r\n
{{ resolution }}
\r\n\r\n

If you wish to view this ticket online, you can visit {{ ticket.staff_url }}.

", + "plain_text": "Hello,\r\n\r\nTicket {{ ticket.title }} (\"{{ ticket.title }}\"){% if ticket.assigned_to %}, assigned to {{ ticket.assigned_to }}{% endif %} has been closed.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nThe original description was:\r\n\r\n{{ ticket.description }}\r\n\r\nThe resolution provided was:\r\n\r\n{{ resolution }}", + "heading": "Ticket Closed", + "subject": "(Closed)" + } + }, + { + "pk": 4, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "closed_owner", + "html": "

Hello,

\r\n\r\n

The following ticket, which is currently assigned to you, has been closed.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
\r\n\r\n

The resolution provided was:

\r\n\r\n
{{ ticket.resolution }}
", + "plain_text": "Hello,\r\n\r\nThe following ticket, which is currently assigned to you, has been closed.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.\r\n\r\n", + "heading": "Ticket Closed", + "subject": "(Closed)" + } + }, + { + "pk": 5, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "closed_submitter", + "html": "

Hello,

\r\n\r\n

You recently logged a ticket with a subject of {{ ticket.title }} with us. This e-mail is to confirm that this ticket has been closed.

\r\n\r\n

The resolution that has been provided is:

\r\n\r\n
{{ ticket.resolution }}
\r\n\r\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}. If you believe that further work is required on this ticket, please let us know by replying to this e-mail and keeping the subject intact.

", + "plain_text": "Hello,\r\n\r\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to confirm that this ticket has been closed.\r\n\r\nIf you believe that further work is required on this ticket, please let us know by replying to this e-mail and keeping the subject intact.\r\n\r\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.\r\n\r\nThe resolution provided was:\r\n\r\n{{ ticket.resolution }}", + "heading": "Ticket Closed", + "subject": "(Closed)" + } + }, + { + "pk": 6, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "escalated_cc", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} ('{{ ticket.title }}') has been escalated automatically.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") has been escalated automatically.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nThe original ticket description was:\r\n\r\n{{ ticket.description }}", + "heading": "Ticket Escalated", + "subject": "(Escalated)" + } + }, + { + "pk": 8, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "escalated_owner", + "html": "

Hello,

\r\n\r\n

A ticket currently assigned to you has been automatically escalated as it has been open for longer than expected.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
", + "plain_text": "Hello,\r\n\r\nA ticket currently assigned to you has been automatically escalated as it has been open for longer than expected.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nThe original ticket description was:\r\n\r\n{{ ticket.description }}\r\n\r\nPlease review this ticket and attempt to provide a resolution as soon as possible.", + "heading": "Ticket Assigned to You Has Been Escalated", + "subject": "(Escalated)" + } + }, + { + "pk": 7, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "escalated_submitter", + "html": "

Hello,

\r\n\r\n

You recently logged a ticket with a subject of {{ ticket.title }} with us. This e-mail is to advise you of an automated escalation of that ticket as it has been open for longer than expected.

\r\n\r\n

We will review your ticket shortly and attempt to provide a resolution as soon as possible.

\r\n\r\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.

", + "plain_text": "Hello,\r\n\r\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to advise you of an automated escalation of that ticket as it has been open for longer than expected.\r\n\r\nWe will review your ticket shortly and attempt to provide a resolution as soon as possible.\r\n\r\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.", + "heading": "Your Ticket Has Been Escalated", + "subject": "(Escalated)" + } + }, + { + "pk": 9, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "newticket_cc", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that a new ticket has been opened.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Description:

\r\n\r\n
{{ ticket.description }}
", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that a new ticket has been opened.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nDescription:\r\n{{ ticket.description }}\r\n", + "heading": "New Ticket Opened", + "subject": "(Opened)" + } + }, + { + "pk": 10, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "newticket_submitter", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that we have received your helpdesk query with a subject of {{ ticket.title }}.

\r\n\r\n

You do not have to do anything further at this stage. Your ticket has been assigned a number of {{ ticket.ticket }} and will be responded to shortly.

\r\n\r\n

If you wish to send us further details, or if you have any queries about this ticket, please include the ticket id of {{ ticket.ticket }} in the subject. The easiest way to do this is just press \"reply\" to this message.

\r\n\r\n

If you wish to view this ticket online to provide further information, attach files or view recent updates, you can visit {{ ticket.ticket_url }}.

\r\n\r\n

We will investigate your query and attempt to resolve it as soon as possible. You will receive further updates and a resolution via this e-mail address.

", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that we have received your helpdesk query with a subject of \"{{ ticket.title }}\". \r\n\r\nYou do not have to do anything further at this stage. Your ticket has been assigned a number of {{ ticket.ticket }} and will be responded to shortly.\r\n\r\nIf you wish to send us further details, or if you have any queries about this ticket, please include the ticket id of '{{ ticket.ticket }}' in the subject. The easiest way to do this is just press \"reply\" to this message.\r\n\r\nIf you wish to view this ticket online to provide further information, attach files or view recent updates, you can visit {{ ticket.ticket_url }}.\r\n\r\nWe will investigate your query and attempt to resolve it as soon as possible. You will receive further updates and a resolution via this e-mail address.", + "heading": "Your Ticket Has Been Opened", + "subject": "(Opened)" + } + }, + { + "pk": 11, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "resolved_cc", + "html": "

Hello,

\r\n\r\n

The following ticket has been resolved.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
\r\n\r\n

The resolution that was added was:

\r\n\r\n
{{ ticket.resolution }}
\r\n\r\n

This resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.

", + "plain_text": "Hello,\r\n\r\nThe following ticket has been resolved:\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nThe original ticket description was:\r\n\r\n{{ ticket.description }}\r\n\r\nThe resolution provided was:\r\n\r\n{{ ticket.resolution }}\r\n\r\nThis resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.", + "heading": "Ticket Resolved", + "subject": "(Resolved)" + } + }, + { + "pk": 12, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "resolved_owner", + "html": "

Hello,

\r\n\r\n

A ticket currently assigned to you has been resolved.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
\r\n\r\n

The resolution that was added was:

\r\n\r\n
{{ ticket.resolution }}
\r\n\r\n

This resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.

", + "plain_text": "Hello,\r\n\r\nA ticket currently assigned to you has been resolved.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nThe original ticket description was:\r\n\r\n{{ ticket.description }}\r\n\r\nThe resolution provided was:\r\n\r\n{{ ticket.resolution }}\r\n\r\nThis resolution has been e-mailed to the submitter, who will verify it before you can close this ticket.", + "heading": "Ticket Resolved", + "subject": "(Resolved)" + } + }, + { + "pk": 13, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "resolved_submitter", + "html": "

Hello,

\r\n\r\n

You recently logged a ticket with a subject of {{ ticket.title }} with us. This e-mail is to advise you of a resolution to that ticket.

\r\n\r\n

The following resolution was added to ticket {{ ticket.ticket }}:

\r\n\r\n
{{ resolution }}
\r\n\r\n

Can you please confirm that this resolution addresses your needs so we may close this ticket? If you have any further queries, or if you do not believe this resolution is adequate, please reply to this e-mail and keep the subject intact.

\r\n\r\n

If you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.

", + "plain_text": "Hello,\r\n\r\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to advise you of a resolution to that ticket.\r\n\r\nThe following resolution was added to ticket {{ ticket.ticket }}:\r\n\r\n{{ resolution }}\r\n\r\nCan you please confirm that this resolution addresses your needs so we may close this ticket? If you have any further queries, or if you do not believe this resolution is adequate, please reply to this e-mail and keep the subject intact.\r\n\r\nIf you wish to view this ticket online, you can visit {{ ticket.ticket_url }}.", + "heading": "Your Ticket Has Been Resolved", + "subject": "(Resolved)" + } + }, + { + "pk": 14, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "updated_cc", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") for {{ ticket.submitter_email }} has been updated.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
\r\n\r\n

The following comment was added:

\r\n\r\n
{{ comment }}
\r\n\r\n

This information has {% if private %}not {% endif %} been e-mailed to the submitter.

", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") for {{ ticket.submitter_email }} has been updated.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nOriginal description:\r\n\r\n{{ ticket.description }}\r\n\r\nThe following comment was added:\r\n\r\n{{ comment }}\r\n\r\nThis information has {% if private %}not {% endif %} been e-mailed to the submitter.\r\n\r\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", + "heading": "Ticket Updated", + "subject": "(Updated)" + } + }, + { + "pk": 15, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "updated_owner", + "html": "

Hello,

\r\n\r\n

This is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") for {{ ticket.submitter_email }}, which is assigned to you, has been updated.

\r\n\r\n

\r\nTicket ID: {{ ticket.ticket }}
\r\nQueue: {{ queue.title }}
\r\nTitle: {{ ticket.title }}
\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}
\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}
\r\nPriority: {{ ticket.get_priority_display }}
\r\nStatus: {{ ticket.get_status }}
\r\nAssigned to: {{ ticket.get_assigned_to }}
\r\nView Online to update this ticket (login required)

\r\n\r\n

Just for reference, the original ticket description was:

\r\n\r\n
{{ ticket.description }}
\r\n\r\n

The following comment was added:

\r\n\r\n
{{ comment }}
\r\n\r\n

This information has {% if private %}not {% endif %} been e-mailed to the submitter.

", + "plain_text": "Hello,\r\n\r\nThis is a courtesy e-mail to let you know that ticket {{ ticket.ticket }} (\"{{ ticket.title }}\") for {{ ticket.submitter_email }}, which is assigned to you, has been updated.\r\n\r\nTicket ID: {{ ticket.ticket }}\r\nQueue: {{ queue.title }}\r\nTitle: {{ ticket.title }}\r\nOpened: {{ ticket.created|date:\"l N jS Y, \\a\\t P\" }}\r\nSubmitter: {{ ticket.submitter_email|default:\"Unknown\" }}\r\nPriority: {{ ticket.get_priority_display }}\r\nStatus: {{ ticket.get_status }}\r\nAssigned to: {{ ticket.get_assigned_to }}\r\nView Online: {{ ticket.staff_url }} (login required)\r\n\r\nOriginal description:\r\n\r\n{{ ticket.description }}\r\n\r\nThe following comment was added:\r\n\r\n{{ comment }}\r\n\r\nThis information has {% if private %}not {% endif %} been e-mailed to the submitter.\r\n\r\nIf you wish to view this ticket online, you can visit {{ ticket.staff_url }}.", + "heading": "Ticket Updated", + "subject": "(Updated)" + } + }, + { + "pk": 16, + "model": "helpdesk.emailtemplate", + "fields": { + "template_name": "updated_submitter", + "html": "

Hello,

\r\n\r\n

You recently logged a ticket with a subject of {{ ticket.title }} with us. This e-mail is to advise you of an update to that ticket.

\r\n\r\n

The following comment was added to ticket {{ ticket.ticket }}:

\r\n\r\n
{{ comment }}
\r\n\r\n

If you need to provide us with further information, please reply to this e-mail and keep the subject intact. Alternatively, you can view and update this ticket online by visiting {{ ticket.ticket_url }}.

", + "plain_text": "Hello,\r\n\r\nYou recently logged a ticket with a subject of \"{{ ticket.title }}\" with us. This e-mail is to advise you of an update to that ticket.\r\n\r\nThe following comment was added to ticket {{ ticket.ticket }}:\r\n\r\n{{ comment }}\r\n\r\nIf you need to provide us with further information, please reply to this e-mail and keep the subject intact. Alternatively, you can view and update this ticket online by visiting {{ ticket.ticket_url }}.", + "heading": "Your Ticket Has Been Updated", + "subject": "(Updated)" + } + } +]