Sha256: af34e75f33125ac358c953719d610f99f9855b381ff5b7e7f67c3f5406405d9f

Contents?: true

Size: 1.28 KB

Versions: 36

Compression:

Stored size: 1.28 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)}
        - if @ctx.reply_to_message
          %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

36 entries across 36 versions & 1 rubygems

Version Path
wco_email-0.1.1.40 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.39 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.38 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.37 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.36 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.35 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.34 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.33 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.32 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.31 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.30 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.29 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.28 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.27 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.26 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.25 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.24 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.23 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.22 app/views/wco_email/contexts/show.haml
wco_email-0.1.1.21 app/views/wco_email/contexts/show.haml