From 83b1c340c3bf92539eb5a67d497caa4b7ca9c20d Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 3 Mar 2014 12:36:51 -0600 Subject: [PATCH] Put the ticket number back in the subject line --- .../i18n/en_US/templates/email/ticket.activity.notice.yaml | 3 ++- include/i18n/en_US/templates/email/ticket.autoreply.yaml | 2 +- include/i18n/en_US/templates/email/ticket.autoresp.yaml | 4 ++-- include/i18n/en_US/templates/email/ticket.notice.yaml | 2 +- include/i18n/en_US/templates/email/ticket.reply.yaml | 3 ++- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/include/i18n/en_US/templates/email/ticket.activity.notice.yaml b/include/i18n/en_US/templates/email/ticket.activity.notice.yaml index 01622cd65..d7baebed6 100644 --- a/include/i18n/en_US/templates/email/ticket.activity.notice.yaml +++ b/include/i18n/en_US/templates/email/ticket.activity.notice.yaml @@ -7,7 +7,8 @@ notes: | Notice sent to collaborators on ticket activity e.g reply or message. -subject: "Re: %{ticket.subject}" +subject: | + Re: %{ticket.subject} [#%{ticket.number}] body: | <h3><strong>Dear %{recipient.name.first},</strong></h3> <div> diff --git a/include/i18n/en_US/templates/email/ticket.autoreply.yaml b/include/i18n/en_US/templates/email/ticket.autoreply.yaml index 5cb448b1b..39e8e4aa3 100644 --- a/include/i18n/en_US/templates/email/ticket.autoreply.yaml +++ b/include/i18n/en_US/templates/email/ticket.autoreply.yaml @@ -12,7 +12,7 @@ notes: | Available variables for replacement: %{ticket.*}, %{response} subject: | - Support Ticket Opened + Re: %{ticket.subject} [#%{ticket.number}] body: | <h3><strong>Dear %{recipient.name.first},</strong></h3> A request for support has been created and assigned ticket <a diff --git a/include/i18n/en_US/templates/email/ticket.autoresp.yaml b/include/i18n/en_US/templates/email/ticket.autoresp.yaml index 41a8733a7..6b1826e9e 100644 --- a/include/i18n/en_US/templates/email/ticket.autoresp.yaml +++ b/include/i18n/en_US/templates/email/ticket.autoresp.yaml @@ -8,7 +8,7 @@ notes: | Sent to a user when a new ticket is created subject: | - Support Ticket Opened + Support Ticket Opened [#%{ticket.number}] body: | <h3><strong>Dear %{recipient.name.first},</strong></h3> Our customer care team has created a ticket, @@ -16,7 +16,7 @@ body: | with the following details and summary: <br> <br> Subject: <strong>%{ticket.subject}</strong><br> - Submitted:<strong> <strong>%{ticket.create_date}</strong></strong> + Submitted: <strong>%{ticket.create_date}</strong> <br> <br> %{message} diff --git a/include/i18n/en_US/templates/email/ticket.notice.yaml b/include/i18n/en_US/templates/email/ticket.notice.yaml index 5503b91d6..bf2a6803c 100644 --- a/include/i18n/en_US/templates/email/ticket.notice.yaml +++ b/include/i18n/en_US/templates/email/ticket.notice.yaml @@ -10,7 +10,7 @@ notes: | This is most commonly performed when user's call in on the phone. subject: | - %{ticket.subject} + %{ticket.subject} [#%{ticket.number}] body: | <h3><strong>Dear %{recipient.name.first},</strong></h3> Our customer care team has created a ticket, <a diff --git a/include/i18n/en_US/templates/email/ticket.reply.yaml b/include/i18n/en_US/templates/email/ticket.reply.yaml index 50e5078ac..1996f6f73 100644 --- a/include/i18n/en_US/templates/email/ticket.reply.yaml +++ b/include/i18n/en_US/templates/email/ticket.reply.yaml @@ -9,7 +9,8 @@ notes: | Sent to users when a staff members makes a reply to their ticket. Replies are only generated by staff members. -subject: "Re: %{ticket.subject}" +subject: | + Re: %{ticket.subject} [#%{ticket.number}] body: | <h3><strong>Dear %{recipient.name},</strong></h3> %{response} -- GitLab