Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lifecyle contact fields #718

Merged
merged 5 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/sync/chosen.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ disable_search_threshold: 0
minimum_width: 300
max_shown_results: null
use_relative_width: false
jquery_selector: 'select:visible'
jquery_selector: "select:not([class*='simpler-select']):visible"
search_contains: false
disable_search: false
allow_single_deselect: false
disabled_themes:
claro: '0'
stanford_profile_admin: '0'
minimally_branded_subtheme: '0'
stanford_basic: '0'
stanford_profile_admin: '0'
chosen_include: 2
placeholder_text_multiple: 'Choose some options'
placeholder_text_single: 'Choose an option'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_hide_site_search
- field.field.config_pages.stanford_basic_site_settings.su_site_403
- field.field.config_pages.stanford_basic_site_settings.su_site_404
- field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
Expand All @@ -17,9 +18,15 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_name
- field.field.config_pages.stanford_basic_site_settings.su_site_new_menu
- field.field.config_pages.stanford_basic_site_settings.su_site_nobots
- field.field.config_pages.stanford_basic_site_settings.su_site_org
- field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due
- field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_url
module:
- change_labels
- conditional_fields
- cshs
- field_group
- link
- text
Expand All @@ -31,8 +38,8 @@ third_party_settings:
- su_site_admin_notes
label: Experimental
region: content
parent_name: ''
weight: 12
parent_name: group_site_details
weight: 13
format_type: details
format_settings:
classes: ''
Expand All @@ -41,45 +48,113 @@ third_party_settings:
open: false
description: ''
required_fields: false
group_tabs:
children:
- group_site_details
- group_contact_details
label: Tabs
region: content
parent_name: ''
weight: 0
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
direction: horizontal
width_breakpoint: 640
group_site_details:
children:
- su_site_name
- su_site_email
- su_site_url
- su_google_analytics
- su_site_dropdowns
- su_site_menu_levels
- su_hide_site_search
- su_hide_ext_link_icons
- su_site_home
- su_site_404
- su_site_403
- su_site_nobots
- group_experimental
label: 'Site Settings/Features'
region: content
parent_name: group_tabs
weight: 19
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_contact_details:
children:
- su_site_owner_contact
- su_site_tech_contact
- su_site_a11y_contact
- su_site_org
label: 'Contact Details'
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: config_pages.stanford_basic_site_settings.default
targetEntityType: config_pages
bundle: stanford_basic_site_settings
mode: default
content:
su_google_analytics:
type: string_textfield
weight: 3
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_hide_ext_link_icons:
type: boolean_checkbox
weight: 7
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
su_hide_site_search:
type: boolean_checkbox
weight: 6
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
su_site_403:
type: options_select
weight: 10
weight: 11
region: content
settings: { }
third_party_settings: { }
su_site_404:
type: options_select
weight: 9
weight: 10
region: content
settings: { }
third_party_settings: { }
su_site_a11y_contact:
type: email_default
weight: 6
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_admin_notes:
type: text_textarea
weight: 12
Expand All @@ -90,28 +165,28 @@ content:
third_party_settings: { }
su_site_dropdowns:
type: boolean_checkbox
weight: 4
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
su_site_email:
type: email_default
weight: 1
weight: 2
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_home:
type: options_select
weight: 8
weight: 9
region: content
settings: { }
third_party_settings: { }
su_site_menu_levels:
type: number
weight: 5
weight: 6
region: content
settings:
placeholder: ''
Expand All @@ -135,7 +210,7 @@ content:
selector: ''
su_site_name:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
Expand All @@ -150,18 +225,50 @@ content:
third_party_settings: { }
su_site_nobots:
type: boolean_checkbox
weight: 11
weight: 12
region: content
settings:
display_label: true
third_party_settings: { }
su_site_org:
type: cshs
weight: 7
region: content
settings:
save_lineage: false
force_deepest: false
parent: null
level_labels: 'Org Code, Group'
hierarchy_depth: 0
required_depth: 0
none_label: '- Please select -'
third_party_settings:
change_labels:
field_label_overwrite: ''
su_site_owner_contact:
type: email_default
weight: 4
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_tech_contact:
type: email_default
weight: 5
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_site_url:
type: link_default
weight: 2
weight: 3
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
hidden:
label: true
su_site_renewal_due: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 8552a374-507c-4d34-9c9c-459d268cbe57
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.site_owner_orgs
id: taxonomy_term.site_owner_orgs.default
targetEntityType: taxonomy_term
bundle: site_owner_orgs
mode: default
content:
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
description: true
path: true
publish_on: true
status: true
unpublish_on: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_hide_site_search
- field.field.config_pages.stanford_basic_site_settings.su_site_403
- field.field.config_pages.stanford_basic_site_settings.su_site_404
- field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
Expand All @@ -17,8 +18,13 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_name
- field.field.config_pages.stanford_basic_site_settings.su_site_new_menu
- field.field.config_pages.stanford_basic_site_settings.su_site_nobots
- field.field.config_pages.stanford_basic_site_settings.su_site_org
- field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due
- field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_url
module:
- datetime
- link
- text
id: config_pages.stanford_basic_site_settings.default
Expand Down Expand Up @@ -70,6 +76,13 @@ content:
third_party_settings: { }
weight: 7
region: content
su_site_a11y_contact:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 17
region: content
su_site_admin_notes:
type: text_default
label: above
Expand Down Expand Up @@ -139,6 +152,37 @@ content:
third_party_settings: { }
weight: 12
region: content
su_site_org:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 18
region: content
su_site_owner_contact:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 14
region: content
su_site_renewal_due:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 15
region: content
su_site_tech_contact:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 16
region: content
su_site_url:
type: link
label: above
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: d8fba16a-7d29-4c7f-89de-a0e7b78671f2
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.site_owner_orgs
id: taxonomy_term.site_owner_orgs.default
targetEntityType: taxonomy_term
bundle: site_owner_orgs
mode: default
content: { }
hidden:
description: true
search_api_excerpt: true
Loading
Loading