Sha256: a1bf5b64b3f09ef044b2397b4d0ff544f4fe5dbccaa1c9ef023a9f968c503a74

Contents?: true

Size: 1.15 KB

Versions: 9

Compression:

Stored size: 1.15 KB

Contents

.conversations--table
  %table.bordered.data-table
    %thead
      %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
    - convs.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, wco_email.conversation_path(conv)}</b>
          - else
            = link_to conv.subject, wco_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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wco_models-3.1.0.116 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.115 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.114 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.113 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.112 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.111 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.110 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.109 app/views/wco_email/conversations/_table.haml
wco_models-3.1.0.108 app/views/wco_email/conversations/_table.haml