Sha256: 5aa49c0b3f727eb97c05a7a472cd0325969cd549ac674a9d51d2068c559c3301
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
.email-contexts-show.maxwidth .header %h5.title = link_to '[~]', edit_context_path(@ctx) Email Context `#{@ctx.subject}` .row .col-md-8 %ul %li <b>Layout:</b> #{link_to @ctx.email_template.layout, email_layout_path(@ctx.email_template.layout) } <b>Template:</b> #{link_to @ctx.email_template.slug, email_template_path(@ctx.email_template), target: :_blank } %li <b>From:</b> #{@ctx.from_email} %li <b>To Lead:</b> #{link_to @ctx.lead.email, wco.lead_path(@ctx.lead)} %li <b>reply_to_message:</b> #{ link_to @ctx.reply_to_message, message_path(@ctx.reply_to_message), target: :_blank } .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_context_path(@ctx), form_class: 'inline', :data => { :confirm => 'Are you sure?' } .maxwidth - if @ctx.sent_at = raw @ctx.rendered_str -# = @ctx.tmpl - else -# = link_to 'i-src', context_iframe_path(@ctx), target: :_blank %iframe.h-500px{ src: context_iframe_path(@ctx), width: '100%', height: '100%' }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wco_email-0.1.1.4 | app/views/wco_email/contexts/show.haml |
wco_email-0.1.1.3 | app/views/wco_email/contexts/show.haml |
wco_email-0.1.1.2 | app/views/wco_email/contexts/show.haml |