Sha256: bb46583e4279a7feff14d6e5d722ab41e1c08496e9b7ed181105bff2274dff5c
Contents?: true
Size: 1006 Bytes
Versions: 1
Compression:
Stored size: 1006 Bytes
Contents
%a#back-to-all{:href => rails_email_preview.root_url} « Back to list #message_headers %dl %dt From: %dd= @mail.from %dt Subject: %dd %strong= @mail.subject %dt Date: %dd= Time.now.strftime("%b %e, %Y %I:%M:%S %p %Z") %dt To: %dd= @mail.to - if @mail.multipart? %p.alternate - if body_part.content_type && body_part.content_type.match(/text\/html/) %a{:href => rails_email_preview.email_url(params.merge(:format => 'txt'))}} View plain text version - else %a{:href => rails_email_preview.email_url(params.merge(:format => 'html'))}} View HTML version %iframe#src-iframe{:src => rails_email_preview.raw_email_url(params), :width => "100%", :height => "800", :onload => 'emailLoaded()', :style => "display:none"} %pre#loading Loading... :javascript window.emailLoaded = function () { document.getElementById('src-iframe').style.display = 'block'; document.getElementById('loading').style.display = 'none'; };
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_email_preview-0.0.1 | app/views/rails_email_preview/emails/show.html.haml |