Sha256: af7ddf6415ce96ff1628f062a34743b0fdb43415fcbdafef2d270d6c2371e5eb

Contents?: true

Size: 982 Bytes

Versions: 8

Compression:

Stored size: 982 Bytes

Contents

%table.records
  %thead
    %tr
      %th= orderable_column_link(:created_at)
      %th= orderable_column_link('campaign.name', :campaign)
      %th= orderable_column_link(:new_visit)
      %th= orderable_column_link(:request_path)
      %th= orderable_column_link('contact_name', :contact)
  %tbody
    - if collection.empty?
      %tr
        %td{:colspan => 5}= e9_t(:no_records_text)
    - else
      - collection.each do |record|
        %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')}
          %td.record-created-at
            = I18n.l(record.created_at)
          %td.record-campaign-name
            = record.campaign_name || e9_t(:no_campaign)
          %td.record-request-new-visit
            = record.new_visit ? 'New Visit' : 'Repeat Visit'
          %td.record-request-path
            = record.request_path
          %td.record-contact-name
            = record.contact_name

- if controller.send(:should_paginate_index)
  = will_paginate collection

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
e9_crm-0.1.34 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.33 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.32 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.31 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.30 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.29 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.28 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.27 app/views/e9_crm/page_views/_table.html.haml