Sha256: 78119ae4e4bf212ab9e69086cfffeb54db2a801b21f159e628c31dbc3764dcf8

Contents?: true

Size: 917 Bytes

Versions: 5

Compression:

Stored size: 917 Bytes

Contents

%table.records
  %thead
    %tr
      %th= orderable_column_link(:created_at)
      %th= orderable_column_link('campaign.name', :campaign)
      %th= orderable_column_link(:request_path)
      %th= orderable_column_link(:referer)
      %th= orderable_column_link(:remote_ip)
  %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-path
            = record.request_path
          %td.record-referer
            = record.referer
          %td.record-remote-ip
            = record.remote_ip

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
e9_crm-0.1.26 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.25 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.24 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.23 app/views/e9_crm/page_views/_table.html.haml
e9_crm-0.1.22 app/views/e9_crm/page_views/_table.html.haml