Sha256: 3166a66e034e9f3d6679f00a46a6a04107ec8d9cdb9d39bfe7f84ab5b8c9083c
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 KB
Contents
.email-contexts-index.padded .header.collapse-expand-trash#emailContextsIndex %h2.title Email Contexts (#{@ctxs.length}) - if @lead For lead #{@lead.email} - else - if my_truthy? params[:sent] = link_to '[notsent]', email_contexts_path({ sent: false }) <u>sent</u> - else <u>notsent</u> = link_to '[sent]', email_contexts_path({ sent: true }) = link_to '[+]', new_email_context_path .W0 = render 'paginate', resource: @ctxs, param_name: :ctxs_page, views_prefix: :ish_manager %table.bordered %thead %tr %th.actions %th.from From %th.to To %th.subject Subject %th.template Template %th.send_at Send at %th.sent_at Sent at %tbody - @ctxs.each do |ctx| %tr %td.actions.padded - if ctx.sent_at \-- - else = link_to '[~]', edit_email_context_path(ctx) = button_to 'x', email_context_path(ctx), method: :delete, form_class: :inline, data: { confirm: 'Are you sure?' } = button_to 'send', send_immediate_email_context_path(ctx), form_class: :inline, data: { confirm: 'Are you sure?' } %td.from = ctx.from_email ? ctx.from_email : "t| #{ctx.tmpl.from_email}" %td.to= link_to ctx.lead.email, lead_path(ctx.lead) %td = link_to email_context_path(ctx) do = ctx.subject ? ctx.subject : "t| #{ctx.tmpl.subject}" %td= ctx.email_template.slug %td.send_at.padded .datetime .date= pp_date ctx.send_at .time= pp_time ctx.send_at %td .datetime.padded= pp_date ctx.sent_at = render 'paginate', resource: @ctxs, param_name: :ctxs_page, views_prefix: :ish_manager
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ish_manager-0.1.8.482 | app/views/ish_manager/email_contexts/index.haml |
ish_manager-0.1.8.481 | app/views/ish_manager/email_contexts/index.haml |