Remove travel schedule from registration
(cherry picked from commit d18cc02f0185df39bb4213d8a63a955dfb433dcb) Re: https://github.com/openSUSE/osem/issues/2333
This commit is contained in:
parent
ab0ff0ff03
commit
7a04f3582f
16 changed files with 29 additions and 144 deletions
|
|
@ -10,8 +10,6 @@ class RegistrationDatatable < AjaxDatatablesRails::Base
|
|||
roles: { source: 'Role.name' },
|
||||
email: { source: 'User.email' },
|
||||
accepted_code_of_conduct: { source: 'Registration.accepted_code_of_conduct', searchable: false },
|
||||
arrival: { source: 'Registration.arrival', searchable: false },
|
||||
departure: { source: 'Registration.departure', searchable: false },
|
||||
actions: { source: 'Registration.id', searchable: false, orderable: false }
|
||||
}
|
||||
end
|
||||
|
|
@ -36,8 +34,6 @@ class RegistrationDatatable < AjaxDatatablesRails::Base
|
|||
roles: conference_role_titles(record.user),
|
||||
email: record.email,
|
||||
accepted_code_of_conduct: !!record.accepted_code_of_conduct, # rubocop:disable Style/DoubleNegation
|
||||
arrival: record.arrival&.utc,
|
||||
departure: record.departure&.utc,
|
||||
questions: {},
|
||||
edit_url: edit_admin_conference_registration_path(conference, record),
|
||||
DT_RowId: record.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue