-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #876 from City-of-Helsinki/UHF-9507
UHF-9507: UHF-9507: Replace unit contact card title with a radio button selection
- Loading branch information
Showing
9 changed files
with
73 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...fig/config/install/field.field.paragraph.unit_contact_card.field_unit_contact_heading.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
uuid: 6c99f53c-3860-4a4f-adde-0e465d98e131 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.field_unit_contact_heading | ||
- paragraphs.paragraphs_type.unit_contact_card | ||
module: | ||
- options | ||
id: paragraph.unit_contact_card.field_unit_contact_heading | ||
field_name: field_unit_contact_heading | ||
entity_type: paragraph | ||
bundle: unit_contact_card | ||
label: Heading | ||
description: " The default heading for the component is “Contact information”. Choose the unit name as the heading if it is not clear which unit's contact information is being referred to." | ||
required: true | ||
translatable: false | ||
default_value: | ||
- | ||
value: default | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: list_string |
19 changes: 0 additions & 19 deletions
19
...onfig/config/install/field.field.paragraph.unit_contact_card.field_unit_contact_title.yml
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...es/helfi_tpr_config/config/install/field.storage.paragraph.field_unit_contact_heading.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
uuid: 5e3d0bce-6114-40f1-b778-8fece473c972 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- options | ||
- paragraphs | ||
id: paragraph.field_unit_contact_heading | ||
field_name: field_unit_contact_heading | ||
entity_type: paragraph | ||
type: list_string | ||
settings: | ||
allowed_values: | ||
- | ||
value: default | ||
label: 'Contact information' | ||
- | ||
value: unit_name | ||
label: 'The unit name' | ||
allowed_values_function: '' | ||
module: options | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
21 changes: 0 additions & 21 deletions
21
modules/helfi_tpr_config/config/install/field.storage.paragraph.field_unit_contact_title.yml
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...tional/language/fi/field.field.paragraph.unit_contact_card.field_unit_contact_heading.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
label: Otsikko | ||
description: 'Komponentin oletusotsikko on ”Yhteystiedot”. Valitse otsikoksi kyseisen toimipisteen nimi, jos ei ole ilmeistä, minkä toimipisteen yhteystiedoista on kyse.' |
6 changes: 6 additions & 0 deletions
6
...config/config/optional/language/fi/field.storage.paragraph.field_unit_contact_heading.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
settings: | ||
allowed_values: | ||
- | ||
label: Yhteystiedot | ||
- | ||
label: 'Kyseisen toimipisteen nimi' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters