Sha256: 0533fa9c1f5bf52e9bd6cf716fedc5eee488d27388f5206364a7036da24c8cd8

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

- unless smart_listing.empty?
  %table.table.table-striped
    %thead
      %tr 
        - unless @entity
          %th= tw("attributes.entity")
          %th= tw("attributes.email")
        - unless @mailing
          %th= tw("attributes.mailing")
        %th= smart_listing.sortable tw("logs.processing_at"), :processing_at
        %th= tw("attributes.status")
        %th
    %tbody
      - smart_listing.collection.each do |log|
        %tr
          - unless @entity
            %td= log.entity
            %td= log.entity_email
          - unless @mailing
            %td
              - if log.mailing.sequence?
                = link_to log.mailing.sequence do
                  %span= friendly_name log.mailing.sequence
                »
              = link_to_mailing(log.mailing)
          %td= log.processing_at
          %td= link_to display_log_status(log), preview_log_path(log), data: {toggle: "modal", target: "#modal-generic"}
          %td.actions
            .action-group= smart_listing_item_actions log_actions(log)

  = smart_listing.paginate 
  = smart_listing.pagination_per_page_links 
- else
  = t(".no_logs")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maily_herald-webui-0.8.0 app/views/maily_herald/webui/logs/_items.html.haml