Sha256: 71d50987ce1b99f419091f3e323effd46ded133ed3bff407332549cc53280aa7

Contents?: true

Size: 956 Bytes

Versions: 2

Compression:

Stored size: 956 Bytes

Contents

- unless smart_listing.empty?
  %table.table.table-striped
    %thead
      %tr 
        %th.col-md-3= tw("attributes.title")
        - if @sequence
          %th= MailyHerald::SequenceMailing.human_attribute_name(:absolute_delay)
        %th= tw("attributes.state")
        %th= tw(:label_list)
        %th= tw("attributes.mailer")
        %th
    %tbody
      - smart_listing.collection.each do |mailing|
        %tr
          %td= link_to_mailing mailing
          - if @sequence
            %td= distance_of_time_in_words(mailing.absolute_delay)
          %td= display_dispatch_state mailing
          %td= link_to friendly_name(mailing.list), list_path(mailing.list)
          %td= display_mailing_mailer mailing.mailer_name
          %td.actions
            .action-group= smart_listing_item_actions [{name: :show, url: url_for_mailing(mailing)}]

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maily_herald-webui-0.9.0 app/views/maily_herald/webui/mailings/_list.html.haml
maily_herald-webui-0.8.0 app/views/maily_herald/webui/mailings/_list.html.haml