Sha256: 5608d63149e4e9e4779344cdb27e28c333fad45ed1aba080792903090d8716fe
Contents?: true
Size: 1.62 KB
Versions: 19
Compression:
Stored size: 1.62 KB
Contents
.email-contexts-index.padded .header.collapse-expand-trash#emailContextsIndex %h2.title - if params[:notsent] <u>notsent</u> = link_to '[sent]', sent_email_contexts_path - else = link_to '[notsent]', notsent_email_contexts_path <u>sent</u> Email Contexts (#{@ctxs.length}) - if @lead For lead `#{@lead.name}` = link_to '[+]', new_email_context_path .W0 = render 'paginate', resource: @ctxs, param_name: :email_contexts_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 - 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 = ctx.from_email ? ctx.from_email : "t| #{ctx.tmpl.from_email}" %td= ctx.to_email %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: :email_contexts_page, views_prefix: :ish_manager
Version data entries
19 entries across 19 versions & 1 rubygems