clean(engagement): remove last pieces of engagement champs
This commit is contained in:
parent
ffb81e6d72
commit
7125e8538a
7 changed files with 2 additions and 36 deletions
|
@ -81,9 +81,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Move checkbox to the top-left side of the label
|
// Move checkbox to the top-left side of the label
|
||||||
&.editable-champ-checkbox,
|
&.editable-champ-checkbox {
|
||||||
// TODO: remove after 20220725075951_migrate_champs_engagement_to_checkbox passed
|
|
||||||
&.editable-champ-engagement {
|
|
||||||
p,
|
p,
|
||||||
label {
|
label {
|
||||||
padding-left: 28px;
|
padding-left: 28px;
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
class EditableChamp::EngagementComponent < EditableChamp::EditableChampBaseComponent
|
|
||||||
end
|
|
|
@ -15,7 +15,7 @@ module Types
|
||||||
else
|
else
|
||||||
Types::Champs::TextChampType
|
Types::Champs::TextChampType
|
||||||
end
|
end
|
||||||
when ::Champs::EngagementChamp, ::Champs::YesNoChamp, ::Champs::CheckboxChamp
|
when ::Champs::YesNoChamp, ::Champs::CheckboxChamp
|
||||||
Types::Champs::CheckboxChampType
|
Types::Champs::CheckboxChampType
|
||||||
when ::Champs::DateChamp
|
when ::Champs::DateChamp
|
||||||
Types::Champs::DateChampType
|
Types::Champs::DateChampType
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
# TODO: remove after 20220725075951_migrate_champs_engagement_to_checkbox passed
|
|
||||||
# == Schema Information
|
|
||||||
#
|
|
||||||
# Table name: champs
|
|
||||||
#
|
|
||||||
# id :integer not null, primary key
|
|
||||||
# data :jsonb
|
|
||||||
# fetch_external_data_exceptions :string is an Array
|
|
||||||
# private :boolean default(FALSE), not null
|
|
||||||
# rebased_at :datetime
|
|
||||||
# row :integer
|
|
||||||
# type :string
|
|
||||||
# value :string
|
|
||||||
# value_json :jsonb
|
|
||||||
# created_at :datetime
|
|
||||||
# updated_at :datetime
|
|
||||||
# dossier_id :integer
|
|
||||||
# etablissement_id :integer
|
|
||||||
# external_id :string
|
|
||||||
# parent_id :bigint
|
|
||||||
# type_de_champ_id :integer
|
|
||||||
#
|
|
||||||
class Champs::EngagementChamp < Champs::CheckboxChamp
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
# TODO: remove after 20220725075951_migrate_champs_engagement_to_checkbox passed
|
|
||||||
class TypesDeChamp::EngagementTypeDeChamp < TypesDeChamp::CheckboxTypeDeChamp
|
|
||||||
end
|
|
|
@ -4997,6 +4997,5 @@ french:
|
||||||
- "vertu"
|
- "vertu"
|
||||||
- "permets"
|
- "permets"
|
||||||
- "mafia"
|
- "mafia"
|
||||||
- "engagement"
|
|
||||||
- "lesquelles"
|
- "lesquelles"
|
||||||
- "cachette"
|
- "cachette"
|
||||||
|
|
|
@ -25,8 +25,6 @@ fr:
|
||||||
regions: 'Régions'
|
regions: 'Régions'
|
||||||
departements: 'Départements'
|
departements: 'Départements'
|
||||||
communes: 'Communes'
|
communes: 'Communes'
|
||||||
# TODO: remove after 20220725075951_migrate_champs_engagement_to_checkbox passed
|
|
||||||
engagement: 'Engagement'
|
|
||||||
header_section: 'Titre de section'
|
header_section: 'Titre de section'
|
||||||
explication: 'Explication'
|
explication: 'Explication'
|
||||||
dossier_link: 'Lien vers un autre dossier'
|
dossier_link: 'Lien vers un autre dossier'
|
||||||
|
|
Loading…
Reference in a new issue