Sha256: 371b6052facbec33321832faa17447f261c52e37170db605de62a03fee1746a2

Contents?: true

Size: 939 Bytes

Versions: 12

Compression:

Stored size: 939 Bytes

Contents

.email-contexts-index

  .collapse-expand#emailContextsIndex
    %h2.header
      Paginated Email Contexts (aka emails)
      = link_to '+', new_email_context_path
      = link_to 'to-send', notsent_email_contexts_path

  .W0
    = render 'paginate', resource: @email_ctxs, param_name: :email_contexts_page, views_prefix: :ish_manager

    %ul.main
      - @email_ctxs.each do |ctx|
        %li
          - if ctx.sent_at
            \----
          - else
            = link_to '~', edit_email_context_path(ctx)
          = link_to email_context_path(ctx) do
            view
          = ctx.title
          = button_to '[x]', email_context_path(ctx), method: :delete, form_class: :inline, data: { confirm: 'Are you sure?' }
          -# = link_to 'iframe', email_context_iframe_path(ctx), target: :_blank do

          [ <b>tmpl:</b> #{ctx.email_template.slug} ]
          [ <b>To:</b> #{ctx.to_email} ]
          <u>#{ctx.subject}</u>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ish_manager-0.1.8.340 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.339 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.338 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.337 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.336 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.335 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.334 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.333 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.332 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.331 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.330 app/views/ish_manager/email_contexts/index.haml
ish_manager-0.1.8.329 app/views/ish_manager/email_contexts/index.haml