Sha256: b025e08b5c8d746ba31f0a4fcf34ae8fce917d1d823448aa6bbb0e5fbf40e49e

Contents?: true

Size: 383 Bytes

Versions: 20

Compression:

Stored size: 383 Bytes

Contents

class Admix::UsersDatagrid

  include Datagrid

  scope do
    User.desc(:email)
  end

  filter :email, :string
  filter :last_sign_in_at, :date

  column :email, header: I18n.t('users.fields.email')
  column :last_sign_in_at, header: I18n.t('users.fields.last_sign_in_at') do |user|
    user.last_sign_in_at.strftime('%d/%m/%Y as %H:%Mh')
  end

  include Admix::TableActions

end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
mix-rails-0.22.0 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.22.0 app/models/admix/users_datagrid.rb
mix-rails-0.16.0 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.16.0 app/models/admix/users_datagrid.rb
mix-rails-0.15.0 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.15.0 app/models/admix/users_datagrid.rb
mix-rails-0.12.2 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.12.2 app/models/admix/users_datagrid.rb
mix-rails-0.12.1 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.12.1 app/models/admix/users_datagrid.rb
mix-rails-auth-0.11.0 app/models/admix/users_datagrid.rb
mix-rails-0.10.4 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.10.4 app/models/admix/users_datagrid.rb
mix-rails-0.10.3 mix-rails-auth/app/models/admix/users_datagrid.rb
mix-rails-auth-0.10.3 app/models/admix/users_datagrid.rb
mix-rails-auth-0.10.2 app/models/admix/users_datagrid.rb
mix-rails-auth-0.10.1 app/models/admix/users_datagrid.rb
mix-rails-0.7.0 auth/app/models/admix/users_datagrid.rb
mix-rails-0.6.0 auth/app/models/admix/users_datagrid.rb
mix-rails-0.5.0 auth/app/models/admix/users_datagrid.rb