Files
openfoodnetwork/app/views/layouts/mailer.html.haml
Gaetan Craig-Riou 9a90e46b78 Move mail css back to be managed by wepack
It wil allow us to remove dependency on `rails-sass`, and `sass` which
are not maintained anymore.
More or less revert this PR: https://github.com/openfoodfoundation/openfoodnetwork/pull/12743
2026-01-26 14:50:31 +11:00

53 lines
1.5 KiB
Plaintext

%html{:xmlns => "http://www.w3.org/1999/xhtml"}
%head
/ If you delete this meta tag, Half Life 3 will never be released.
%meta{:content => "width=device-width", :name => "viewport" }/
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%title
= Spree::Config[:site_name]
= stylesheet_pack_tag "mail", media: "screen"
%body{:bgcolor => "#FFFFFF" }
- unless @hide_ofn_navigation
%table.head-wrap
%tr
%td
%td.container
.content
%table
%tr
%td
= image_tag ContentConfig.url_for(:logo), class: "logo"
%td.text-right
%h6.collapse
= Spree::Config[:site_name]
%td
%table.body-wrap
%tr
%td
%td.container{:bgcolor => "#FFFFFF"}
.content
%table
%tr
%td
= yield
%td
%table.footer-wrap
%tr
%td
%td.container
.content
%table
%tr
%td{:align => "center"}
%p
- if platform_terms_required?
= link_to_platform_terms
|
%a{:href => "#{ main_app.root_url }"}
= Spree::Config[:site_name]
/ | <a href="#"><unsubscribe>Unsubscribe</unsubscribe></a>
%td