Sha256: cdaaeedea92fa77f96800695f6cd7ef73aa77779032ae81eb5b7111ed5d634e0
Contents?: true
Size: 1.07 KB
Versions: 69
Compression:
Stored size: 1.07 KB
Contents
.email-contexts-show .header %h2.title Email Context .row .col-md-4 %ul %li <b>From:</b> #{@ctx.from_email} %li <b>To Lead:</b> #{link_to @ctx.lead.email, lead_path(@ctx.lead)} %li <b>Subject:</b> #{@ctx.subject} .col-md-4 %ul %li <b>Template:</b> #{link_to @ctx.email_template.slug, email_template_path(@ctx.email_template), target: :_blank } %li <b>Layout:</b> #{@ctx.email_template.layout} .col-md-4 %ul %li <b>Send at:</b> #{@ctx.send_at&.strftime('%Y-%m-%d %l:%M%P')} %li <b>Sent at:</b> #{@ctx.sent_at&.strftime('%Y-%m-%d %l:%M%P')} %li = button_to 'Send', send_email_context_path(@ctx), form_class: 'inline', :data => { :confirm => 'Are you sure?' } = link_to '[~]', edit_email_context_path(@ctx) .max-width - if @ctx.sent_at = raw @ctx.rendered_str -# = @ctx.tmpl - else -# = link_to 'i-src', email_context_iframe_path(@ctx), target: :_blank %iframe{ src: email_context_iframe_path(@ctx), width: '100%', height: '100%' }
Version data entries
69 entries across 69 versions & 1 rubygems