!!!
-
if ENV == “development”
-
base_url = “localhost:3000”
-
-
else
-
base_url = “studio.backstit.ch”
-
%html
%head %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ %body{:style => "margin: 0px;"} %table{:width => '100%', :border => 0, :cellspacing => 0, :cellpadding => '0px', :style => "background: #f1f1f1; border: 1px solid #e4e4e4; color: #3e3e3e;"} %tr %td{:align => 'center'} -# container %table{:width => '600', :border => 0, :cellspacing => 0, :cellpadding => 0, :style => "width: 600px;background: #ffffff;padding:8px"} %tr %td != self[:draft_content] %tr{:style => "font-family: Helvetica Neue,Helvetica,Arial,sans-serif; font-size: 12px; color: #656565; text-align: center;"} %td{:style => "padding: 10px 0px;"} %p %b{:style => "color: #{self[:organization].highlight_color}"} = self[:organization].name sent you this message using backstitch Studio. %p{:style => "color: #656565"} ©2016 backstitch Inc. 1528 Woodward Ave. 3rd Floor, Detroit, MI 48226 %img{:src => "#{base_url}/posts/#{self[:post].id}/engagement/tracking.gif?contact_id=#{self[:version_contact_id]}&version_id=#{self[:version_id]}&organization_id=#{self[:organization].id}"}