Sha256: 8d0b461e9dfc4546d857dc293eaea21803de7821453f858c69ecaa2c35a2b706
Contents?: true
Size: 1.04 KB
Versions: 10
Compression:
Stored size: 1.04 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', email_context_send_path(@ctx), form_class: 'inline', :data => { :confirm => 'Are you sure?' } = link_to '[~]', edit_email_context_path(@ctx) - 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
10 entries across 10 versions & 1 rubygems