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->Content(Type => 'text/html')} ], }, { Queue => '0', Name => 'Transaction in HTML', # loc Description => 'HTML transaction template', # loc Content => 'RT-Attach-Message: yes Content-Type: text/html {$Transaction->CreatedAsString}: Request id}">{$Ticket->id} was acted upon by {$Transaction->CreatorObj->Name}.
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}


{$Transaction->Content( Type => "text/html")} ' }, { Queue => '0', Name => 'Admin Correspondence in HTML', # loc Description => 'HTML admin correspondence template', # loc Content => 'RT-Attach-Message: yes Content-Type: text/html Ticket URL: id}">{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}

{$Transaction->Content(Type => "text/html");} ' }, { Queue => '0', Name => 'Correspondence in HTML', # loc Description => 'HTML correspondence template', # loc Content => 'RT-Attach-Message: yes Content-Type: text/html {$Transaction->Content( Type => "text/html")} ' }, { Queue => '0', Name => 'Admin Comment in HTML', # loc Description => 'HTML admin comment template', # loc Content => 'Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject); $s =~ s/\\[Comment\\]\\s*//g; $s =~ s/^Re:\\s*//i; $s;} RT-Attach-Message: yes Content-Type: text/html

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}

{$Transaction->Content(Type => "text/html")} ' }, { Queue => '0', Name => 'Resolved in HTML', # loc Description => 'HTML Ticket Resolved', # loc Content => 'Subject: Resolved: {$Ticket->Subject} Content-Type: text/html

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/html

Greetings,

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.


{$Transaction->Content()} ' }, { Queue => '___Approvals', Name => "Approval Passed in HTML", # loc Description => "Notify Requestor of their ticket has been approved by some approver", # loc Content => 'Subject: Ticket Approved: {$Ticket->Subject} Content-Type: text/html

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.

' }, );