debian-mirror-gitlab/app/views/layouts/_mailer.html.haml

43 lines
1.5 KiB
Text
Raw Normal View History

2019-12-26 22:10:19 +05:30
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2017-09-10 17:25:29 +05:30
%html{ lang: "en" }
%head
%meta{ content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type" }/
%meta{ content: "width=device-width, initial-scale=1", name: "viewport" }/
%meta{ content: "IE=edge", "http-equiv" => "X-UA-Compatible" }/
%title= message.subject
2019-12-26 22:10:19 +05:30
-# Avoid premailer processing of client-specific styles (@media tag not supported)
-# We need to inline the contents here because mail clients (e.g. iOS Mail, Outlook)
-# do not support linked stylesheets.
%style{ type: 'text/css', 'data-premailer': 'ignore' }
= asset_to_string('mailer_client_specific.css').html_safe
2017-09-10 17:25:29 +05:30
2019-12-26 22:10:19 +05:30
= stylesheet_link_tag 'mailer.css'
%body
%table#body{ border: "0", cellpadding: "0", cellspacing: "0" }
2017-09-10 17:25:29 +05:30
%tbody
%tr.line
2019-12-26 22:10:19 +05:30
%td
2017-09-10 17:25:29 +05:30
%tr.header
2019-12-26 22:10:19 +05:30
%td
2019-07-07 11:18:12 +05:30
= html_header_message
2017-09-10 17:25:29 +05:30
= header_logo
%tr
2019-12-26 22:10:19 +05:30
%td
%table.wrapper{ border: "0", cellpadding: "0", cellspacing: "0" }
2017-09-10 17:25:29 +05:30
%tbody
%tr
2019-12-26 22:10:19 +05:30
%td.wrapper-cell
%table.content{ border: "0", cellpadding: "0", cellspacing: "0" }
2017-09-10 17:25:29 +05:30
%tbody
= yield
2019-09-04 21:01:54 +05:30
= render_if_exists 'layouts/mailer/additional_text'
2021-01-29 00:20:46 +05:30
= yield :footer
2017-09-10 17:25:29 +05:30
= yield :additional_footer
2019-07-07 11:18:12 +05:30
%tr
2019-12-26 22:10:19 +05:30
%td.footer-message
2019-07-07 11:18:12 +05:30
= html_footer_message