Sha256: 3faec9f67490a4322cd3ef9394f4ea32329d61fa75b3c55a6911600789002094

Contents?: true

Size: 1.27 KB

Versions: 27

Compression:

Stored size: 1.27 KB

Contents

- content_for :sidebar do
  = render 'wco_email/sidebar'

.conversations-index

  = 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.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.latest-at
          = pp_date conv.latest_at
          = pp_time conv.latest_at


  = render '/wco/paginate', resource: @conversations, param_name: :conv_page

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wco_email-0.1.1.27 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.26 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.25 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.24 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.23 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.22 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.21 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.20 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.19 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.18 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.17 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.16 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.15 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.14 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.13 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.12 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.11 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.10 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.9 app/views/wco_email/conversations/index.haml
wco_email-0.1.1.8 app/views/wco_email/conversations/index.haml