Improved css for outlook 2013.
This commit is contained in:
parent
9796e5959a
commit
61a526e3bc
2 changed files with 7 additions and 3 deletions
|
@ -199,6 +199,9 @@ Check if string is a complete html document. If not, add head and css styles.
|
||||||
col {
|
col {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
code {
|
code {
|
||||||
border: none;
|
border: none;
|
||||||
background: hsl(0,0%,97%);
|
background: hsl(0,0%,97%);
|
||||||
|
@ -238,7 +241,8 @@ Add/change markup to display html in any mail client nice.
|
||||||
def self.html_mail_client_fixes(html)
|
def self.html_mail_client_fixes(html)
|
||||||
|
|
||||||
# https://github.com/martini/zammad/issues/165
|
# https://github.com/martini/zammad/issues/165
|
||||||
html.gsub('<blockquote type="cite">', '<blockquote type="cite" style="border-left: 2px solid blue; margin: 0px; padding: 8px 12px 8px 12px;">')
|
html.gsub!('<blockquote type="cite">', '<blockquote type="cite" style="border-left: 2px solid blue; margin: 0px; padding: 8px 12px 8px 12px;">')
|
||||||
|
html.gsub('<p>', '<p style="margin: 0;">')
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -4234,7 +4234,7 @@ Trigger.create_or_update(
|
||||||
},
|
},
|
||||||
perform: {
|
perform: {
|
||||||
'notification.email' => {
|
'notification.email' => {
|
||||||
'body' => '<div>Your request (#{config.ticket_hook}#{ticket.number}) has been received and will be reviewed by our support staff.</div>
|
'body' => '<div>Your request <b>(#{config.ticket_hook}#{ticket.number})</b> has been received and will be reviewed by our support staff.</div>
|
||||||
<br/>
|
<br/>
|
||||||
<div>To provide additional information, please reply to this email or click on the following link:
|
<div>To provide additional information, please reply to this email or click on the following link:
|
||||||
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}">#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}</a>
|
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}">#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}</a>
|
||||||
|
@ -4273,7 +4273,7 @@ Trigger.create_or_update(
|
||||||
},
|
},
|
||||||
perform: {
|
perform: {
|
||||||
'notification.email' => {
|
'notification.email' => {
|
||||||
'body' => '<div>Your follow up for (#{config.ticket_hook}#{ticket.number}) has been received and will be reviewed by our support staff.</div>
|
'body' => '<div>Your follow up for <b>(#{config.ticket_hook}#{ticket.number})</b> has been received and will be reviewed by our support staff.</div>
|
||||||
<br/>
|
<br/>
|
||||||
<div>To provide additional information, please reply to this email or click on the following link:
|
<div>To provide additional information, please reply to this email or click on the following link:
|
||||||
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}">#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}</a>
|
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}">#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}</a>
|
||||||
|
|
Loading…
Reference in a new issue