From 43bb991f27e65a687a67449c03496e46ae9df018 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 4 May 2016 11:30:27 +0200 Subject: [PATCH] Improved auto reply templates. --- ...er.rb => 20160503000002_update_trigger.rb} | 32 +++++++++++-------- db/seeds.rb | 6 +++- 2 files changed, 23 insertions(+), 15 deletions(-) rename db/migrate/{20160503000001_update_trigger.rb => 20160503000002_update_trigger.rb} (66%) diff --git a/db/migrate/20160503000001_update_trigger.rb b/db/migrate/20160503000002_update_trigger.rb similarity index 66% rename from db/migrate/20160503000001_update_trigger.rb rename to db/migrate/20160503000002_update_trigger.rb index 703777a53..aec04bb98 100644 --- a/db/migrate/20160503000001_update_trigger.rb +++ b/db/migrate/20160503000002_update_trigger.rb @@ -26,13 +26,15 @@ class UpdateTrigger < ActiveRecord::Migration }, perform: { 'notification.email' => { - 'body' => '

Your request (#{config.ticket_hook}##{ticket.number}) has been received and will be reviewed by our support staff.

-
-

To provide additional information, please reply to this email or click on the following link: - #{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id} -

-
-

Zammad, your customer support system

', + 'body' => '

Your request (#{config.ticket_hook}#{ticket.number}) has been received and will be reviewed by our support staff.

+
+

To provide additional information, please reply to this email or click on the following link: +#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id} +

+
+

Your #{config.product_name} Team

+
+

Zammad, your customer support system

', 'recipient' => 'ticket_customer', 'subject' => 'Thanks for your inquiry (#{ticket.title})', }, @@ -63,13 +65,15 @@ class UpdateTrigger < ActiveRecord::Migration }, perform: { 'notification.email' => { - 'body' => '

Your follow up for (#{config.ticket_hook}##{ticket.number}) has been received and will be reviewed by our support staff.

-
-

To provide additional information, please reply to this email or click on the following link: - #{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id} -

-
-

Zammad, your customer support system

', + 'body' => '

Your follow up for (#{config.ticket_hook}#{ticket.number}) has been received and will be reviewed by our support staff.

+
+

To provide additional information, please reply to this email or click on the following link: +#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id} +

+
+

Your #{config.product_name} Team

+
+

Zammad, your customer support system

', 'recipient' => 'ticket_customer', 'subject' => 'Thanks for your follow up (#{ticket.title})', }, diff --git a/db/seeds.rb b/db/seeds.rb index f86b4592a..d9e77cc5a 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -3884,6 +3884,8 @@ Trigger.create_or_update( #{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}


+

Your #{config.product_name} Team

+

Zammad, your customer support system

', 'recipient' => 'ticket_customer', 'subject' => 'Thanks for your inquiry (#{ticket.title})', @@ -3921,12 +3923,14 @@ Trigger.create_or_update( #{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}


+

Your #{config.product_name} Team

+

Zammad, your customer support system

', 'recipient' => 'ticket_customer', 'subject' => 'Thanks for your follow up (#{ticket.title})', }, }, - active: true, + active: false, created_by_id: 1, updated_by_id: 1, )