app/views/chaskiq/manage/campaigns/premailer_preview.haml in chaskiq-0.0.3 vs app/views/chaskiq/manage/campaigns/premailer_preview.haml in chaskiq-0.0.4

- old
+ new

@@ -2,35 +2,14 @@ %html %head %meta{:charset => "utf-8"}/ %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/ %title Chaskiq - / Include style per-controller - vendor plugins - -#= stylesheet_link_tag params[:controller] if ::Rails.application.assets.find_asset("#{params[:controller]}.css") - / Main css styles - :css - #bodyTable {background-color: #f2f2f2;} - #templatePreheader, - #templateHeader, - #templateColumns, - #templateFooter, - #templateBody{ - background-color: #ffffff; - border-bottom: 0 none; - border-top: 0 none; - } - .footerContainer .mcnTextContent a { - color: #606060; - font-weight: normal; - text-decoration: underline; - } - .footerContainer .mcnTextContent, .footerContainer .mcnTextContent p { - color: #606060; - font-family: Helvetica; - font-size: 11px; - line-height: 125%; - text-align: left; - } + %style + = @campaign.css %body = h @campaign.html_content.html_safe + + - unless params[:exclude_gif] + <img src='{{track_image_url}}' width='1' height='1'/>