Sha256: 592637ede32f36f1cfebfa4f609ebbc8d4470eda7132314e6d5809dd99d2e0c3
Contents?: true
Size: 1.48 KB
Versions: 5
Compression:
Stored size: 1.48 KB
Contents
- content_for :sidebar do = render 'wco_email/sidebar' .conversations-index %h5 - if @tag Tag `#{@tag}` - if @tag_not Tag-not `#{@tag_not}` = render '/wco_email/conversations/actions' = render '/wco/paginate', resource: @conversations, param_name: :conv_page %table.bordered %tr %th.select-all.nosort .a = check_box_tag :select_all .n-selected - %th.leads leads %th.subject subject, preview %th.tags Tags %th.latest-at latest_at - @conversations.each_with_index do |conv, idx| %tr %td.select-all .gray= idx+1 = check_box_tag 'conversation_ids[]', conv.id.to_s, nil, { class: 'i-sel' } %td.leads.mini -# - conv.from_emails.each do |from| -# = link_to from, wco.lead_path( from ) -# %hr - conv.leads.each do |lead| = link_to lead.email, wco.lead_path( lead ) %td.subject - if conv.unread? <b>#{link_to conv.subject, email_conversation_path(conv)}</b> - else = link_to conv.subject, email_conversation_path(conv) <b>(#{conv.messages.length})</b> %span.gray= conv.preview %td.tags.mini - conv.tags.each do |tag| .mb-1 .Chip= tag.slug %td.latest-at = pp_date conv.latest_at = pp_time conv.latest_at = render '/wco/paginate', resource: @conversations, param_name: :conv_page
Version data entries
5 entries across 5 versions & 1 rubygems