use strict; use warnings; # New HTML templates our @Templates = ( { Queue => '0', Name => 'Autoreply in HTML', # loc Description => 'HTML Autoresponse template', # loc Content => q[Subject: AutoReply: {$Ticket->Subject} Content-Type: text/html
Greetings,
This message has been automatically generated in response to the creation of a trouble ticket regarding {$Ticket->Subject()}, a summary of which appears below.
There is no need to reply to this message right now. Your ticket has been assigned an ID of {$Ticket->SubjectTag}.
Please include the string {$Ticket->SubjectTag} in the subject line of all future correspondence about this issue. To do so, you may reply to this message.
Thank you,
{$Ticket->QueueObj->CorrespondAddress()}
Transaction: | {$Transaction->Description} |
Queue: | {$Ticket->QueueObj->Name} |
Subject: | {$Transaction->Subject || $Ticket->Subject || "(No subject given)"} |
Owner: | {$Ticket->OwnerObj->Name} |
Requestors: | {$Ticket->RequestorAddresses} |
Status: | {$Ticket->Status} |
Ticket URL: | id}">{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id} |
This is a comment about id}">ticket {$Ticket->id}. It is not sent to the Requestor(s):
{$Transaction->Content(Type => "text/html")} ' }, { Queue => '0', Name => 'Status Change in HTML', # loc Description => 'HTML Ticket status changed', # loc Content => 'Subject: Status Changed to: {$Transaction->NewValue} Content-Type: text/html id}">{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.
' }, { Queue => '___Approvals', Name => "New Pending Approval in HTML", # loc Description => "Notify Owners and AdminCcs of new items pending their approval", # loc Content => 'Subject: New Pending Approval: {$Ticket->Subject} Content-Type: text/htmlGreetings,
There is a new item pending your approval: {$Ticket->Subject()}, a summary of which appears below.
Please approve or reject this ticket, or visit the approvals overview to batch-process all your pending approvals.
Greetings,
Your ticket has been approved by { eval { $Approver->Name } }. Other approvals may be pending.
Approver\'s notes:
{ $Notes }' }, { Queue => '___Approvals', Name => "All Approvals Passed in HTML", # loc Description => "Notify Requestor of their ticket has been approved by all approvers", # loc Content => 'Subject: Ticket Approved: {$Ticket->Subject} Content-Type: text/html
Greetings,
Your ticket has been approved by { eval { $Approver->Name } }. Its Owner may now start to act on it.
Approver\'s notes:
{ $Notes }' }, { Queue => '___Approvals', Name => "Approval Rejected in HTML", # loc Description => "Notify Owner of their rejected ticket", # loc Content => 'Subject: Ticket Rejected: {$Ticket->Subject} Content-Type: text/html
Greetings,
Your ticket has been rejected by { eval { $Approver->Name } }.
Approver\'s notes:
{ $Notes }' }, { Queue => '___Approvals', Name => "Approval Ready for Owner in HTML", # loc Description => "Notify Owner of their ticket has been approved and is ready to be acted on", # loc Content => 'Subject: Ticket Approved: {$Ticket->Subject} Content-Type: text/html
Greetings,
The ticket has been approved, you may now start to act on it.
' }, );