Sha256: beab5b5f2e19959e52a9b4e47f52a51504e614a0ecba8a14df3797f837a64a81
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 KB
Contents
module Admin class EffectiveMentorshipCyclesDatatable < Effective::Datatable filters do scope :all scope :registrable scope :available scope :upcoming scope :past end datatable do order :start_at, :desc col :id, visible: false col :created_at, visible: false col :updated_at, visible: false col :title col :start_at, as: :date col :end_at, as: :date col :registration_start_at, as: :date col :registration_end_at, as: :date col :max_pairings_mentor, label: "Max #{mentorships_mentors_label}" col :max_pairings_mentee, label: "Max #{mentorships_mentees_label}" col :mentorship_registrations_count, label: mentorship_registrations_label col :mentorship_groups_count, label: mentorship_groups_label col :rich_text_registration_content, label: "#{mentorship_registration_label} opt-in content", visible: false actions_col end collection do Effective::MentorshipCycle.all.deep end end end
Version data entries
6 entries across 6 versions & 1 rubygems