Sha256: ba6ebf25408cda5011220a146c429528f98d19cdeb28940ab1e23166090c587b

Contents?: true

Size: 485 Bytes

Versions: 15

Compression:

Stored size: 485 Bytes

Contents

module Admin
  class EffectiveNotificationLogsDatatable < Effective::Datatable
    datatable do
      order :created_at

      col :id, visible: false
      col :created_at, as: :date, label: 'Date'

      col :notification
      col :report, visible: !attributes[:inline]
      col :resource, search: :string
      col :user, search: :string
      col :email
      col :skipped

      actions_col
    end

    collection do
      Effective::NotificationLog.deep.all
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
effective_messaging-0.7.5 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.7.4 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.7.3 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.7.2 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.7.1 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.7.0 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.6.1 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.6.0 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.6 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.5 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.4 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.3 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.2 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.1 app/datatables/admin/effective_notification_logs_datatable.rb
effective_messaging-0.5.0 app/datatables/admin/effective_notification_logs_datatable.rb