Sha256: 1bac54314136ca8e60baa32d5edccd110896c9bf8d5e40f77c3ecf56049bc6a3
Contents?: true
Size: 1.69 KB
Versions: 30
Compression:
Stored size: 1.69 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 - 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?' } %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 .a= pp_date ctx.send_at .a= pp_time ctx.send_at %td= pp_date ctx.sent_at = render 'paginate', resource: @ctxs, param_name: :ctxs_page, views_prefix: :ish_manager
Version data entries
30 entries across 30 versions & 1 rubygems