From 6bb1522e2988d62c064bddf3f72a6e9b8d732383 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 9 Jan 2015 00:01:41 +0100 Subject: [PATCH] Improved creating html emails. --- app/models/channel/email_build.rb | 28 ++++++++++++++++++- .../ticket/notification/background_job.rb | 23 --------------- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb index bf43604e5..dca41feb3 100644 --- a/app/models/channel/email_build.rb +++ b/app/models/channel/email_build.rb @@ -112,13 +112,39 @@ module Channel::EmailBuild def self.html_complete_check(html) return html if html =~ //i - css = 'font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;' + css = "font-family:'Helvetica Neue', Helvetica, Arial, Geneva, sans-serif; font-size: 12px;" html = < + #{html} diff --git a/app/models/observer/ticket/notification/background_job.rb b/app/models/observer/ticket/notification/background_job.rb index 30d94d5cd..35b9a1392 100644 --- a/app/models/observer/ticket/notification/background_job.rb +++ b/app/models/observer/ticket/notification/background_job.rb @@ -331,29 +331,6 @@ Changes:
def template_header(user) '