Skip to content

Commit

Permalink
Added citizen proposal status fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rimi-itk committed Apr 23, 2024
1 parent 52afecc commit dbb8e58
Show file tree
Hide file tree
Showing 13 changed files with 234 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
module:
- allowed_formats
- datetime
- field_group
- text
third_party_settings:
Expand All @@ -29,7 +32,7 @@ third_party_settings:
label: GetOrganized
region: content
parent_name: ''
weight: 20
weight: 10
format_type: details
format_settings:
classes: ''
Expand All @@ -38,6 +41,23 @@ third_party_settings:
open: true
description: ''
required_fields: true
group_status:
children:
- field_content_state
- field_city_council_meeting_date
- field_status_title
- field_status_description
label: status
region: content
parent_name: ''
weight: 11
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: false
id: ''
description: Hep-hey!
required_fields: true
id: node.citizen_proposal.default
targetEntityType: node
bundle: citizen_proposal
Expand Down Expand Up @@ -81,6 +101,18 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_city_council_meeting_date:
type: datetime_default
weight: 29
region: content
settings: { }
third_party_settings: { }
field_content_state:
type: options_select
weight: 28
region: content
settings: { }
third_party_settings: { }
field_getorganized_case_id:
type: string_textfield
weight: 26
Expand Down Expand Up @@ -122,6 +154,22 @@ content:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
field_status_description:
type: text_textarea
weight: 31
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_status_title:
type: string_textfield
weight: 30
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 9
Expand All @@ -140,7 +188,6 @@ content:
hidden:
created: true
field_author_uuid: true
field_content_state: true
field_vote_end: true
field_vote_start: true
langcode: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -127,9 +130,12 @@ hidden:
field_author_email_display: true
field_author_phone: true
field_author_uuid: true
field_city_council_meeting_date: true
field_content_state: true
field_getorganized_case_id: true
field_more_info: true
field_status_description: true
field_status_title: true
langcode: true
links: true
published_at: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -60,9 +63,12 @@ hidden:
field_author_email_display: true
field_author_phone: true
field_author_uuid: true
field_city_council_meeting_date: true
field_content_state: true
field_getorganized_case_id: true
field_more_info: true
field_status_description: true
field_status_title: true
field_vote_end: true
field_vote_start: true
langcode: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -92,6 +95,15 @@ content:
third_party_settings: { }
weight: 4
region: left
field_city_council_meeting_date:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 11
region: content
field_more_info:
type: text_default
label: above
Expand All @@ -113,6 +125,21 @@ content:
third_party_settings: { }
weight: 3
region: left
field_status_description:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 12
region: content
field_status_title:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 13
region: content
field_vote_end:
type: datetime_default
label: above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -117,6 +120,9 @@ hidden:
field_author_email_display: true
field_author_phone: true
field_author_uuid: true
field_city_council_meeting_date: true
field_content_state: true
field_getorganized_case_id: true
field_more_info: true
field_status_description: true
field_status_title: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -57,10 +60,13 @@ hidden:
field_author_email_display: true
field_author_phone: true
field_author_uuid: true
field_city_council_meeting_date: true
field_getorganized_case_id: true
field_more_info: true
field_proposal: true
field_remarks: true
field_status_description: true
field_status_title: true
field_vote_start: true
langcode: true
links: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 57aa2690-2319-4322-a864-f02ed06e6bfc
langcode: da
status: true
dependencies:
config:
- field.storage.node.field_city_council_meeting_date
- node.type.citizen_proposal
module:
- datetime
id: node.citizen_proposal.field_city_council_meeting_date
field_name: field_city_council_meeting_date
entity_type: node
bundle: citizen_proposal
label: 'city ​​council meeting date'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: datetime
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: 823d579c-92db-486e-ae30-5024c66eb415
langcode: da
status: true
dependencies:
config:
- field.storage.node.field_status_description
- filter.format.citizen_proposal_content
- node.type.citizen_proposal
module:
- text
id: node.citizen_proposal.field_status_description
field_name: field_status_description
entity_type: node
bundle: citizen_proposal
label: 'status description'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- citizen_proposal_content
field_type: text_long
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 88c3e89e-5bc7-4da6-bb13-e96d95eb6bc1
langcode: da
status: true
dependencies:
config:
- field.storage.node.field_status_title
- node.type.citizen_proposal
id: node.citizen_proposal.field_status_title
field_name: field_status_title
entity_type: node
bundle: citizen_proposal
label: 'status title'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
20 changes: 20 additions & 0 deletions config/sync/field.storage.node.field_city_council_meeting_date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: a301f964-14c6-47dc-9329-c7dc70c7e2fb
langcode: da
status: true
dependencies:
module:
- datetime
- node
id: node.field_city_council_meeting_date
field_name: field_city_council_meeting_date
entity_type: node
type: datetime
settings:
datetime_type: date
module: datetime
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
9 changes: 9 additions & 0 deletions config/sync/field.storage.node.field_content_state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ settings:
-
value: finished
label: Afsluttet
-
value: processing
label: Behandles
-
value: approved
label: Vedtaget
-
value: rejected
label: Afvist
allowed_values_function: ''
module: options
locked: false
Expand Down
19 changes: 19 additions & 0 deletions config/sync/field.storage.node.field_status_description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 99a50d53-4423-4aeb-8a49-e33f87268d4a
langcode: da
status: true
dependencies:
module:
- node
- text
id: node.field_status_description
field_name: field_status_description
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Loading

0 comments on commit dbb8e58

Please sign in to comment.