From 446cb4c86381af6a1c01cb2e90f01d82f4a11e17 Mon Sep 17 00:00:00 2001 From: naomi Date: Thu, 11 Nov 2021 16:16:29 +0000 Subject: [PATCH] Hid trainer and fee paragraphs so as not to confuse katherine --- ...y_form_display.oc_case.project.default.yml | 19 +++---------- ..._form_display.oc_case.training.default.yml | 22 ++++----------- ...y_view_display.oc_case.project.default.yml | 23 +++++++--------- ..._view_display.oc_case.training.default.yml | 27 +++++++------------ 4 files changed, 28 insertions(+), 63 deletions(-) diff --git a/config/core.entity_form_display.oc_case.project.default.yml b/config/core.entity_form_display.oc_case.project.default.yml index 6fbdc58..b726caa 100644 --- a/config/core.entity_form_display.oc_case.project.default.yml +++ b/config/core.entity_form_display.oc_case.project.default.yml @@ -10,7 +10,6 @@ dependencies: module: - datetime - file - - paragraphs id: oc_case.project.default targetEntityType: oc_case bundle: project @@ -27,23 +26,11 @@ content: placeholder: '' third_party_settings: { } field_contract_signed_date: - weight: 3 + weight: 2 settings: { } third_party_settings: { } type: datetime_default region: content - field_fee: - type: entity_reference_paragraphs - weight: 2 - settings: - title: Paragraph - title_plural: Paragraphs - edit_mode: open - add_mode: dropdown - form_display_mode: default - default_paragraph_type: '' - third_party_settings: { } - region: content files: type: file_generic weight: 1 @@ -53,11 +40,13 @@ content: third_party_settings: { } status: type: boolean_checkbox - weight: 4 + weight: 3 region: content settings: display_label: true third_party_settings: { } hidden: + field_fee: true field_total_fee: true + notes: true user_id: true diff --git a/config/core.entity_form_display.oc_case.training.default.yml b/config/core.entity_form_display.oc_case.training.default.yml index 0ad772c..ce2be71 100644 --- a/config/core.entity_form_display.oc_case.training.default.yml +++ b/config/core.entity_form_display.oc_case.training.default.yml @@ -15,7 +15,6 @@ dependencies: module: - datetime - file - - paragraphs _core: default_config_hash: dxPm53tH_SWeTJgZIfdHIIiEb4vSzqADMzUemllj8rk id: oc_case.training.default @@ -50,24 +49,12 @@ content: type: entity_reference_autocomplete region: content field_social_media: - weight: 8 + weight: 7 settings: display_label: true third_party_settings: { } type: boolean_checkbox region: content - field_trainer: - type: entity_reference_paragraphs - weight: 6 - settings: - title: Trainer - title_plural: Trainers - edit_mode: open - add_mode: dropdown - form_display_mode: default - default_paragraph_type: _none - third_party_settings: { } - region: content field_training_delivery_format: weight: 5 settings: { } @@ -88,14 +75,14 @@ content: region: content files: type: file_generic - weight: 7 + weight: 6 settings: progress_indicator: throbber region: content third_party_settings: { } notes: type: string_textarea - weight: 10 + weight: 9 region: content settings: rows: 5 @@ -103,11 +90,12 @@ content: third_party_settings: { } status: type: boolean_checkbox - weight: 9 + weight: 8 region: content settings: display_label: true third_party_settings: { } hidden: field_number_of_participants: true + field_trainer: true user_id: true diff --git a/config/core.entity_view_display.oc_case.project.default.yml b/config/core.entity_view_display.oc_case.project.default.yml index 8d0ead2..60a7b39 100644 --- a/config/core.entity_view_display.oc_case.project.default.yml +++ b/config/core.entity_view_display.oc_case.project.default.yml @@ -9,7 +9,6 @@ dependencies: - opencase_cases.oc_case_type.project module: - datetime - - entity_reference_revisions - file - user id: oc_case.project.default @@ -19,14 +18,19 @@ mode: default content: client: type: entity_reference_label - weight: 1 + weight: 2 region: content label: above settings: link: true third_party_settings: { } + fees: + weight: 0 + region: content + settings: { } + third_party_settings: { } field_contract_signed_date: - weight: 2 + weight: 3 label: above settings: timezone_override: '' @@ -34,15 +38,6 @@ content: third_party_settings: { } type: datetime_default region: content - field_fee: - type: entity_reference_revisions_entity_view - weight: 3 - label: above - settings: - view_mode: default - link: '' - third_party_settings: { } - region: content field_total_fee: weight: 4 label: above @@ -63,7 +58,7 @@ content: third_party_settings: { } type: file_default trainings: - weight: 0 + weight: 1 region: content settings: { } third_party_settings: { } @@ -75,4 +70,6 @@ content: settings: { } third_party_settings: { } hidden: + field_fee: true + notes: true search_api_excerpt: true diff --git a/config/core.entity_view_display.oc_case.training.default.yml b/config/core.entity_view_display.oc_case.training.default.yml index ceb9932..b6bb50c 100644 --- a/config/core.entity_view_display.oc_case.training.default.yml +++ b/config/core.entity_view_display.oc_case.training.default.yml @@ -14,7 +14,6 @@ dependencies: - opencase_cases.oc_case_type.training module: - datetime - - entity_reference_revisions - file - options - user @@ -39,7 +38,7 @@ content: link: true third_party_settings: { } debriefs: - weight: 11 + weight: 10 region: content settings: { } third_party_settings: { } @@ -49,7 +48,7 @@ content: settings: { } third_party_settings: { } evaluations: - weight: 12 + weight: 11 region: content settings: { } third_party_settings: { } @@ -86,7 +85,7 @@ content: settings: { } third_party_settings: { } field_number_of_participants: - weight: 7 + weight: 6 label: above settings: thousand_separator: '' @@ -103,7 +102,7 @@ content: type: entity_reference_label region: content field_social_media: - weight: 8 + weight: 7 label: above settings: format: default @@ -112,15 +111,6 @@ content: third_party_settings: { } type: boolean region: content - field_trainer: - type: entity_reference_revisions_entity_view - weight: 6 - label: above - settings: - view_mode: default - link: '' - third_party_settings: { } - region: content field_training_delivery_format: weight: 5 label: above @@ -147,27 +137,28 @@ content: settings: use_description_as_link_text: true region: content - weight: 9 + weight: 8 third_party_settings: { } type: file_default notes: type: basic_string - weight: 14 + weight: 13 region: content label: above settings: { } third_party_settings: { } trainers: - weight: 10 + weight: 9 region: content settings: { } third_party_settings: { } user_id: label: above type: author - weight: 13 + weight: 12 region: content settings: { } third_party_settings: { } hidden: + field_trainer: true search_api_excerpt: true