From c3a7ef6508451be27d65fd291418b5ef07fc9413 Mon Sep 17 00:00:00 2001 From: pookmish Date: Mon, 4 Nov 2024 10:36:30 -0800 Subject: [PATCH 1/7] D8CORE-7578 Adjust person display for lists and improve resolution (#828) --- ...w_display.node.stanford_person.default.yml | 7 +- ...stanford_person.stanford_h3_card_plain.yml | 134 ++++++++++++++++++ ..._view_mode.node.stanford_h3_card_plain.yml | 11 ++ config/sync/views.view.stanford_person.yml | 9 +- 4 files changed, 155 insertions(+), 6 deletions(-) create mode 100644 config/sync/core.entity_view_display.node.stanford_person.stanford_h3_card_plain.yml create mode 100644 config/sync/core.entity_view_mode.node.stanford_h3_card_plain.yml diff --git a/config/sync/core.entity_view_display.node.stanford_person.default.yml b/config/sync/core.entity_view_display.node.stanford_person.default.yml index 710daadc..30b99762 100644 --- a/config/sync/core.entity_view_display.node.stanford_person.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_person.default.yml @@ -222,11 +222,16 @@ third_party_settings: settings: view_mode: default link: false - image_style: medium_square + image_style: large_square remove_alt: true third_party_settings: + empty_fields: + handler: '' field_formatter_class: class: su-person-photo + field_label: + label_value: '' + label_tag: '' weight: 0 additional: { } 9e6e76d4-b758-4c2b-97a7-495f43965c3a: diff --git a/config/sync/core.entity_view_display.node.stanford_person.stanford_h3_card_plain.yml b/config/sync/core.entity_view_display.node.stanford_person.stanford_h3_card_plain.yml new file mode 100644 index 00000000..c6e1704a --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_person.stanford_h3_card_plain.yml @@ -0,0 +1,134 @@ +uuid: 77178d96-5b98-47dc-a496-09f161632684 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.stanford_h3_card_plain + - field.field.node.stanford_person.body + - field.field.node.stanford_person.field_menulink + - field.field.node.stanford_person.layout_builder__layout + - field.field.node.stanford_person.stanford_intranet__access + - field.field.node.stanford_person.su_metatags + - field.field.node.stanford_person.su_person_academic_appt + - field.field.node.stanford_person.su_person_admin_appts + - field.field.node.stanford_person.su_person_affiliations + - field.field.node.stanford_person.su_person_components + - field.field.node.stanford_person.su_person_education + - field.field.node.stanford_person.su_person_email + - field.field.node.stanford_person.su_person_fax + - field.field.node.stanford_person.su_person_first_name + - field.field.node.stanford_person.su_person_full_title + - field.field.node.stanford_person.su_person_last_name + - field.field.node.stanford_person.su_person_links + - field.field.node.stanford_person.su_person_location_address + - field.field.node.stanford_person.su_person_location_name + - field.field.node.stanford_person.su_person_mail_code + - field.field.node.stanford_person.su_person_map_url + - field.field.node.stanford_person.su_person_mobile_phone + - field.field.node.stanford_person.su_person_photo + - field.field.node.stanford_person.su_person_profile_link + - field.field.node.stanford_person.su_person_pronouns + - field.field.node.stanford_person.su_person_research + - field.field.node.stanford_person.su_person_research_interests + - field.field.node.stanford_person.su_person_scholarly_interests + - field.field.node.stanford_person.su_person_short_title + - field.field.node.stanford_person.su_person_telephone + - field.field.node.stanford_person.su_person_type_group + - field.field.node.stanford_person.su_shared_tags + - node.type.stanford_person + module: + - ds + - field_formatter_class + - layout_builder + - stanford_media + - user +third_party_settings: + ds: + layout: + id: pattern_card + library: null + disable_css: false + entity_classes: all_classes + settings: + pattern: + field_templates: default + variant: minimal + regions: + card_image: + - su_person_photo + card_body: + - node_title + - su_person_short_title + fields: + node_title: + plugin_id: node_title + weight: 1 + label: hidden + formatter: default + settings: + link: true + 'link class': '' + link_target: '' + wrapper: h3 + class: '' + layout_builder: + enabled: false + allow_custom: false +id: node.stanford_person.stanford_h3_card_plain +targetEntityType: node +bundle: stanford_person +mode: stanford_h3_card_plain +content: + su_person_photo: + type: media_responsive_image_formatter + label: hidden + settings: + view_mode: default + link: false + image_style: responsive_1_1 + remove_alt: false + third_party_settings: + field_formatter_class: + class: '' + weight: 0 + region: card_image + su_person_short_title: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 2 + region: card_body +hidden: + body: true + field_menulink: true + layout_builder__layout: true + links: true + search_api_excerpt: true + stanford_intranet__access: true + su_metatags: true + su_person_academic_appt: true + su_person_admin_appts: true + su_person_affiliations: true + su_person_components: true + su_person_education: true + su_person_email: true + su_person_fax: true + su_person_first_name: true + su_person_full_title: true + su_person_last_name: true + su_person_links: true + su_person_location_address: true + su_person_location_name: true + su_person_mail_code: true + su_person_map_url: true + su_person_mobile_phone: true + su_person_profile_link: true + su_person_pronouns: true + su_person_research: true + su_person_research_interests: true + su_person_scholarly_interests: true + su_person_telephone: true + su_person_type_group: true + su_shared_tags: true diff --git a/config/sync/core.entity_view_mode.node.stanford_h3_card_plain.yml b/config/sync/core.entity_view_mode.node.stanford_h3_card_plain.yml new file mode 100644 index 00000000..dbcdc457 --- /dev/null +++ b/config/sync/core.entity_view_mode.node.stanford_h3_card_plain.yml @@ -0,0 +1,11 @@ +uuid: ebfd1cf5-50f9-4a96-81a0-4b4622cef025 +langcode: en +status: true +dependencies: + module: + - node +id: node.stanford_h3_card_plain +label: 'H3 Card Plain' +description: '' +targetEntityType: node +cache: true diff --git a/config/sync/views.view.stanford_person.yml b/config/sync/views.view.stanford_person.yml index f7c773e6..1b4e65cf 100644 --- a/config/sync/views.view.stanford_person.yml +++ b/config/sync/views.view.stanford_person.yml @@ -3,6 +3,7 @@ langcode: en status: true dependencies: config: + - core.entity_view_mode.node.stanford_h3_card_plain - field.storage.node.su_person_photo - field.storage.node.su_person_short_title - field.storage.node.su_person_type_group @@ -552,12 +553,10 @@ display: wrapper_class: '' class: 'su-list-unstyled grid-container-3' row: - type: fields + type: 'entity:node' options: - default_field_elements: true - inline: { } - separator: '' - hide_empty: true + relationship: none + view_mode: stanford_h3_card_plain query: type: views_query options: From 9d7fa73943641937bbfebf92bea14b411016a0cc Mon Sep 17 00:00:00 2001 From: Rebecca Hong <34019925+rebeccahongsf@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:43:32 -0800 Subject: [PATCH 2/7] D8CORE-7434 D8CORE-7435 D8CORE-7436 | Opportunity full content layout and configure card and list display (#813) --- ...play.node.stanford_opportunity.default.yml | 12 +- ...play.node.stanford_opportunity.default.yml | 375 ++++++++- ...display.node.stanford_opportunity.full.yml | 188 +++++ ...e.stanford_opportunity.search_indexing.yml | 47 +- ...ode.stanford_opportunity.stanford_card.yml | 43 +- ....stanford_opportunity.stanford_h3_card.yml | 46 +- ...splay.node.stanford_opportunity.teaser.yml | 64 +- ....paragraph.stanford_lists.su_list_view.yml | 20 +- .../views.view.stanford_opportunities.yml | 751 ++++++++++++++++++ .../254eea9a-320a-400a-b12c-a7bc582d9f61.yml | 64 ++ .../42d15ff2-9a03-418e-8298-704909f22779.yml | 64 ++ .../59456731-36df-4d80-999d-eea34175f622.yml | 64 ++ .../640473e4-2dcf-494d-b583-febff0352d3b.yml | 62 ++ .../66513756-0056-456e-b0b2-7d3438e7ac65.yml | 62 ++ .../67d3e82b-5d77-49ee-8821-26e278d86f59.yml | 64 ++ .../6a4ed963-bdb8-4ad5-9162-d0e6c319bc19.yml | 64 ++ .../94a3e0f8-b9a8-47f9-8d47-5b7e02e5b07f.yml | 64 ++ .../9d9d1d6b-cfe0-471c-a621-7b0161eafc8a.yml | 62 ++ .../beb0218b-a76c-4f72-a485-b00271d380d5.yml | 64 ++ .../d01c2178-65fc-48eb-a427-100850e99649.yml | 64 ++ .../df98b493-6c5a-41e4-b21a-6506045b4ef0.yml | 62 ++ .../e8c58911-9775-4393-83db-a3beddd58e08.yml | 62 ++ .../ecfa5c86-dbd0-4007-95b8-02b6ee574a2c.yml | 62 ++ .../eda262e0-4fba-452d-bb47-9ae84b576b8b.yml | 62 ++ .../ee1e20b8-ffc3-490f-8975-9fe281cad65c.yml | 64 ++ .../fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5.yml | 62 ++ 26 files changed, 2567 insertions(+), 51 deletions(-) create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.full.yml create mode 100644 config/sync/views.view.stanford_opportunities.yml create mode 100644 content/taxonomy_term/254eea9a-320a-400a-b12c-a7bc582d9f61.yml create mode 100644 content/taxonomy_term/42d15ff2-9a03-418e-8298-704909f22779.yml create mode 100644 content/taxonomy_term/59456731-36df-4d80-999d-eea34175f622.yml create mode 100644 content/taxonomy_term/640473e4-2dcf-494d-b583-febff0352d3b.yml create mode 100644 content/taxonomy_term/66513756-0056-456e-b0b2-7d3438e7ac65.yml create mode 100644 content/taxonomy_term/67d3e82b-5d77-49ee-8821-26e278d86f59.yml create mode 100644 content/taxonomy_term/6a4ed963-bdb8-4ad5-9162-d0e6c319bc19.yml create mode 100644 content/taxonomy_term/94a3e0f8-b9a8-47f9-8d47-5b7e02e5b07f.yml create mode 100644 content/taxonomy_term/9d9d1d6b-cfe0-471c-a621-7b0161eafc8a.yml create mode 100644 content/taxonomy_term/beb0218b-a76c-4f72-a485-b00271d380d5.yml create mode 100644 content/taxonomy_term/d01c2178-65fc-48eb-a427-100850e99649.yml create mode 100644 content/taxonomy_term/df98b493-6c5a-41e4-b21a-6506045b4ef0.yml create mode 100644 content/taxonomy_term/e8c58911-9775-4393-83db-a3beddd58e08.yml create mode 100644 content/taxonomy_term/ecfa5c86-dbd0-4007-95b8-02b6ee574a2c.yml create mode 100644 content/taxonomy_term/eda262e0-4fba-452d-bb47-9ae84b576b8b.yml create mode 100644 content/taxonomy_term/ee1e20b8-ffc3-490f-8975-9fe281cad65c.yml create mode 100644 content/taxonomy_term/fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5.yml diff --git a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml index 19e5bcac..3c6641c9 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -162,12 +162,12 @@ content: third_party_settings: { } publish_on: type: datetime_timestamp_no_default - weight: 52 + weight: 15 region: content settings: { } third_party_settings: { } scheduler_settings: - weight: 50 + weight: 14 region: content settings: { } third_party_settings: { } @@ -341,14 +341,10 @@ content: hide_add_another: 0 force_single_cardinality: 0 su_opp_type: - type: entity_reference_autocomplete + type: options_select weight: 9 region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' + settings: { } third_party_settings: { } title: type: string_textfield diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml index c6923a34..782c28f0 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -27,6 +27,7 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_type - node.type.stanford_opportunity module: + - field_group - jumpstart_ui - layout_builder - layout_builder_restrictions @@ -70,11 +71,242 @@ third_party_settings: field_label: label_value: '' label_tag: '' + weight: 2 + additional: { } + third_party_settings: { } + - + layout_id: jumpstart_ui_two_column + layout_settings: + label: '' + context_mapping: { } + extra_classes: '' + centered: centered-container + orientation: left + components: + 7676c62a-39a7-4e6f-b32d-4d7dd5ddeab5: + uuid: 7676c62a-39a7-4e6f-b32d-4d7dd5ddeab5 + region: left + configuration: + id: jumpstart_ui_skipnav_main_anchor + label: 'Main content anchor target' + label_display: '0' + provider: jumpstart_ui + context_mapping: { } + weight: 0 + additional: { } + 764b7bd8-7488-4796-a259-314de23b87b3: + uuid: 764b7bd8-7488-4796-a259-314de23b87b3 + region: left + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_summary' + label: Summary + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: hidden + settings: { } + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 1 + additional: { } + 411af66d-4ede-4ca0-a51d-c56cb10a96ef: + uuid: 411af66d-4ede-4ca0-a51d-c56cb10a96ef + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_image' + label: 'Featured Image' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: media_responsive_image_formatter + label: hidden + settings: + view_mode: stanford_image_large_square + link: false + image_style: '' + remove_alt: 0 + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' weight: 0 additional: { } + d18ff1e0-f50c-4248-b301-2e077267b15c: + uuid: d18ff1e0-f50c-4248-b301-2e077267b15c + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_type' + label: 'Opportunity Type' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_reference_label + label: inline + settings: + link: true + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 1 + additional: { } + 6e41b2ce-22c1-4c37-9a18-14082782a173: + uuid: 6e41b2ce-22c1-4c37-9a18-14082782a173 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_application_deadline' + label: 'Application Deadline' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: datetime_default + label: inline + settings: + timezone_override: '' + format_type: medium + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 2 + additional: { } + 380d8445-73a4-4601-b30c-b8b9f866b057: + uuid: 380d8445-73a4-4601-b30c-b8b9f866b057 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_eligibility' + label: Eligibility + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: above + settings: { } + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 3 + additional: { } + 754b749d-c0cd-4bc8-8594-1992fdbbe0a3: + uuid: 754b749d-c0cd-4bc8-8594-1992fdbbe0a3 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_start_date' + label: 'Start Date' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 4 + additional: { } + 5427b410-5b74-41b2-b6c8-44fac25c3150: + uuid: 5427b410-5b74-41b2-b6c8-44fac25c3150 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_course_code' + label: 'Course Code' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 5 + additional: { } + 9b45c4b5-bbe3-44f4-803f-bb305be025fe: + uuid: 9b45c4b5-bbe3-44f4-803f-bb305be025fe + region: left + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_prerequisites' + label: Prerequisites + label_display: visible + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: hidden + settings: { } + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 2 + additional: { } e712f81b-4aa1-4bc7-bb7f-5068acb3bbd1: uuid: e712f81b-4aa1-4bc7-bb7f-5068acb3bbd1 - region: main + region: left configuration: id: 'field_block:node:stanford_opportunity:body' label: Body @@ -95,7 +327,125 @@ third_party_settings: field_label: label_value: '' label_tag: '' - weight: 1 + weight: 3 + additional: { } + third_party_settings: { } + - + layout_id: jumpstart_ui_one_column + layout_settings: + label: '' + context_mapping: { } + extra_classes: '' + centered: centered-container + columns: default + components: + fbba124c-b6c2-4129-a8df-e79870507c8c: + uuid: fbba124c-b6c2-4129-a8df-e79870507c8c + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_contact_url' + label: 'Contact Link' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: link + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '0' + target: '0' + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 6 + additional: { } + e7da11a9-d160-429f-b39c-6cd0b8cbe496: + uuid: e7da11a9-d160-429f-b39c-6cd0b8cbe496 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_contact_phone' + label: 'Contact Phone' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: telephone_link_class + label: hidden + settings: + title: '' + class: '' + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 5 + additional: { } + 09a85452-e091-4c80-902b-e55c9aaa6d5e: + uuid: 09a85452-e091-4c80-902b-e55c9aaa6d5e + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_contact_email' + label: 'Contact Email' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: basic_string + label: hidden + settings: { } + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 4 + additional: { } + 1af2c338-0e61-4e46-b07e-1de570d93985: + uuid: 1af2c338-0e61-4e46-b07e-1de570d93985 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_contact_name' + label: 'Contact Name' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 3 additional: { } 75a9a36d-20ef-46a1-aaf6-3fbe4814ec5b: uuid: 75a9a36d-20ef-46a1-aaf6-3fbe4814ec5b @@ -222,6 +572,26 @@ third_party_settings: - 'Taxonomy Terms (Views)' - User - Views + field_group: + group_opp_card: + children: { } + label: 'Opportunity Details Card' + parent_name: '' + region: hidden + weight: 20 + format_type: html_element + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast id: node.stanford_opportunity.default targetEntityType: node bundle: stanford_opportunity @@ -233,6 +603,7 @@ hidden: links: true search_api_excerpt: true su_opp_application_deadline: true + su_opp_back_to_link: true su_opp_components: true su_opp_contact_email: true su_opp_contact_name: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.full.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.full.yml new file mode 100644 index 00000000..0aa01f69 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.full.yml @@ -0,0 +1,188 @@ +uuid: 009fc1c0-70e0-47a4-b0ce-d5aae84d1a8c +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.full + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - field.field.node.stanford_opportunity.su_opp_contact_email + - field.field.node.stanford_opportunity.su_opp_contact_name + - field.field.node.stanford_opportunity.su_opp_contact_phone + - field.field.node.stanford_opportunity.su_opp_contact_url + - field.field.node.stanford_opportunity.su_opp_course_code + - field.field.node.stanford_opportunity.su_opp_cta_url + - field.field.node.stanford_opportunity.su_opp_eligibility + - field.field.node.stanford_opportunity.su_opp_image + - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - field.field.node.stanford_opportunity.su_opp_start_date + - field.field.node.stanford_opportunity.su_opp_status + - field.field.node.stanford_opportunity.su_opp_summary + - field.field.node.stanford_opportunity.su_opp_tags + - field.field.node.stanford_opportunity.su_opp_type + - node.type.stanford_opportunity + module: + - field_group + - layout_builder + - layout_builder_restrictions + - layout_library + - user +third_party_settings: + layout_builder: + enabled: false + allow_custom: false + layout_library: + enable: false + layout_builder_restrictions: + allowed_block_categories: + - 'Basic Page Type Lists (Views)' + - Book + - 'Changelog (Views)' + - 'Chaos Tools' + - 'Config Pages' + - 'Content fields' + - 'Custom block types' + - 'Custom blocks' + - Devel + - 'Devel PHP' + - Editoria11y + - 'Events Lists (Views)' + - Forms + - Help + - 'Inline blocks' + - 'Jumpstart UI' + - 'Lists (Views)' + - Menus + - 'News Lists (Views)' + - 'PDB React' + - 'People Lists (Views)' + - 'Policy (Views)' + - Printable + - 'Publication (Views)' + - React + - 'Stanford News' + - 'Stanford Profile Helper' + - 'Stanford SAML Authentication' + - System + - 'Taxonomy Terms (Views)' + - User + - Views + - core + entity_view_mode_restriction: + allowed_layouts: + - jumpstart_ui_one_column + - jumpstart_ui_two_column + - jumpstart_ui_three_column + denylisted_blocks: { } + allowlisted_blocks: + 'Changelog (Views)': + - 'views_block:change_logs-policy_changes' + 'Content fields': + - 'field_block:node:stanford_opportunity:su_opp_application_deadline' + - 'field_block:node:stanford_opportunity:su_opp_open_date' + - 'field_block:node:stanford_opportunity:body' + - 'field_block:node:stanford_opportunity:su_opp_cta_url' + - 'field_block:node:stanford_opportunity:changed' + - 'field_block:node:stanford_opportunity:su_opp_status' + - 'field_block:node:stanford_opportunity:su_opp_contact_email' + - 'field_block:node:stanford_opportunity:su_opp_contact_url' + - 'field_block:node:stanford_opportunity:su_opp_contact_name' + - 'field_block:node:stanford_opportunity:su_opp_contact_phone' + - 'field_block:node:stanford_opportunity:su_opp_course_code' + - 'field_block:node:stanford_opportunity:su_opp_eligibility' + - 'field_block:node:stanford_opportunity:su_opp_source' + - 'field_block:node:stanford_opportunity:su_opp_image' + - 'field_block:node:stanford_opportunity:su_opp_learn_more' + - 'field_block:node:stanford_opportunity:su_opp_tags' + - 'field_block:node:stanford_opportunity:su_opp_type' + - 'field_block:node:stanford_opportunity:su_opp_components' + - 'field_block:node:stanford_opportunity:su_opp_prerequisites' + - 'field_block:node:stanford_opportunity:su_opp_sponsor' + - 'field_block:node:stanford_opportunity:su_opp_start_date' + - 'field_block:node:stanford_opportunity:su_opp_summary' + - 'field_block:node:stanford_opportunity:title' + Menus: + - 'system_menu_block:stanford-event-types' + - 'menu_block:main' + - 'system_menu_block:stanford-person-type' + - 'system_menu_block:stanford-publication-topics' + - 'system_menu_block:news-topics' + System: + - system_breadcrumb_block + core: + - page_title_block + restricted_categories: + - Book + - 'Chaos Tools' + - 'Config Pages' + - Devel + - 'Devel PHP' + - Editoria11y + - Forms + - Help + - 'Lists (Views)' + - 'Policy (Views)' + - Printable + - React + - 'Stanford Profile Helper' + - 'Stanford SAML Authentication' + - 'Taxonomy Terms (Views)' + - User + - Views + field_group: + group_opp_card: + children: { } + label: 'Opportunity Details Card' + parent_name: '' + region: hidden + weight: 20 + format_type: html_element + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast +id: node.stanford_opportunity.full +targetEntityType: node +bundle: stanford_opportunity +mode: full +content: { } +hidden: + body: true + layout_builder__layout: true + links: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_back_to_link: true + su_opp_components: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: true + su_opp_course_code: true + su_opp_cta_url: true + su_opp_eligibility: true + su_opp_image: true + su_opp_learn_more: true + su_opp_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_summary: true + su_opp_tags: true + su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml index 4fe704b6..6916f362 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml @@ -28,10 +28,10 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_type - node.type.stanford_opportunity module: + - datetime - layout_builder - layout_builder_restrictions - layout_library - - layout_paragraphs - text - user third_party_settings: @@ -52,27 +52,52 @@ targetEntityType: node bundle: stanford_opportunity mode: search_indexing content: - body: + su_opp_application_deadline: + type: datetime_default + label: inline + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 1 + region: content + su_opp_image: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 0 + region: content + su_opp_sponsor: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 2 + region: content + su_opp_summary: type: text_default label: hidden settings: { } third_party_settings: { } - weight: 0 + weight: 3 region: content - su_opp_components: - type: layout_paragraphs + su_opp_type: + type: entity_reference_label label: hidden settings: - view_mode: default - link: '' + link: true third_party_settings: { } - weight: 1 + weight: 4 region: content hidden: + body: true layout_builder__layout: true links: true search_api_excerpt: true - su_opp_application_deadline: true + su_opp_components: true su_opp_contact_email: true su_opp_contact_name: true su_opp_contact_phone: true @@ -80,14 +105,10 @@ hidden: su_opp_course_code: true su_opp_cta_url: true su_opp_eligibility: true - su_opp_image: true su_opp_learn_more: true su_opp_open_date: true su_opp_prerequisites: true su_opp_source: true - su_opp_sponsor: true su_opp_start_date: true su_opp_status: true - su_opp_summary: true su_opp_tags: true - su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml index a5eac0b0..e5620cc5 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml @@ -64,14 +64,17 @@ third_party_settings: regions: card_image: - su_opp_image + card_super_headline: + - su_opp_sponsor card_headline: - node_title card_body: + - su_opp_type - su_opp_summary fields: node_title: plugin_id: node_title - weight: 1 + weight: 2 label: hidden formatter: default settings: @@ -103,6 +106,23 @@ content: label_tag: '' weight: 0 region: card_image + su_opp_sponsor: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + ds: + ds_limit: '' + weight: 1 + region: card_super_headline su_opp_summary: type: smart_trim label: hidden @@ -132,7 +152,24 @@ content: field_label: label_value: '' label_tag: '' - weight: 2 + weight: 4 + region: card_body + su_opp_type: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + ds: + ds_limit: '' + weight: 3 region: card_body hidden: body: true @@ -152,8 +189,6 @@ hidden: su_opp_open_date: true su_opp_prerequisites: true su_opp_source: true - su_opp_sponsor: true su_opp_start_date: true su_opp_status: true su_opp_tags: true - su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml index 32b56e20..fb3e4ed6 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml @@ -64,13 +64,17 @@ third_party_settings: regions: card_image: - su_opp_image - card_body: + card_super_headline: + - su_opp_sponsor + card_headline: - node_title + card_body: + - su_opp_type - su_opp_summary fields: node_title: plugin_id: node_title - weight: 1 + weight: 2 label: hidden formatter: default settings: @@ -102,6 +106,23 @@ content: label_tag: '' weight: 0 region: card_image + su_opp_sponsor: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + ds: + ds_limit: '' + weight: 1 + region: card_super_headline su_opp_summary: type: smart_trim label: hidden @@ -131,7 +152,24 @@ content: field_label: label_value: '' label_tag: '' - weight: 2 + weight: 4 + region: card_body + su_opp_type: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + ds: + ds_limit: '' + weight: 3 region: card_body hidden: body: true @@ -151,8 +189,6 @@ hidden: su_opp_open_date: true su_opp_prerequisites: true su_opp_source: true - su_opp_sponsor: true su_opp_start_date: true su_opp_status: true su_opp_tags: true - su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml index 6ade819d..e23d351e 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -1,6 +1,6 @@ uuid: eacf0e3e-0783-44c6-9012-4c4c9e2b7c47 langcode: en -status: false +status: true dependencies: config: - core.entity_view_mode.node.teaser @@ -28,6 +28,11 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_type - node.type.stanford_opportunity module: + - datetime + - empty_fields + - field_formatter_class + - field_label + - stanford_media - text - user id: node.stanford_opportunity.teaser @@ -35,23 +40,62 @@ targetEntityType: node bundle: stanford_opportunity mode: teaser content: - body: - type: text_summary_or_trimmed + su_opp_application_deadline: + type: datetime_default + label: inline + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 1 + region: content + su_opp_image: + type: media_responsive_image_formatter + label: hidden + settings: + view_mode: stanford_image_large_square + link: false + image_style: '' + remove_alt: 0 + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 0 + region: content + su_opp_sponsor: + type: entity_reference_label + label: inline + settings: + link: true + third_party_settings: { } + weight: 2 + region: content + su_opp_summary: + type: text_trimmed label: hidden settings: trim_length: 600 third_party_settings: { } - weight: 101 + weight: 3 region: content - links: - settings: { } + su_opp_type: + type: entity_reference_label + label: hidden + settings: + link: true third_party_settings: { } - weight: 100 + weight: 4 region: content hidden: + body: true layout_builder__layout: true + links: true search_api_excerpt: true - su_opp_application_deadline: true su_opp_components: true su_opp_contact_email: true su_opp_contact_name: true @@ -60,14 +104,10 @@ hidden: su_opp_course_code: true su_opp_cta_url: true su_opp_eligibility: true - su_opp_image: true su_opp_learn_more: true su_opp_open_date: true su_opp_prerequisites: true su_opp_source: true - su_opp_sponsor: true su_opp_start_date: true su_opp_status: true - su_opp_summary: true su_opp_tags: true - su_opp_type: true diff --git a/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml b/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml index 7f349b0a..371bcbda 100644 --- a/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml +++ b/config/sync/field.field.paragraph.stanford_lists.su_list_view.yml @@ -20,36 +20,42 @@ default_value_callback: '' settings: force_default: false allowed_views: + stanford_shared_tags: stanford_shared_tags stanford_basic_pages: stanford_basic_pages stanford_courses: stanford_courses stanford_events: stanford_events stanford_news: stanford_news stanford_person: stanford_person stanford_publications: stanford_publications - stanford_shared_tags: stanford_shared_tags su_block_edit_links: '0' + change_logs: '0' content: '0' block_content: '0' + editoria11y_dismissals: '0' + editoria11y_results: '0' stanford_events_past: '0' stanford_events_schedule: '0' stanford_event_series: '0' - stanford_event_terms_utility: '0' + authmap: '0' files: '0' locked_content: '0' media: '0' media_library: '0' - stanford_news_terms: '0' - stanford_person_list_terms_first: '0' - stanford_person_terms: '0' - publication_terms: '0' + stanford_opportunities: '0' + policies: '0' redirect: '0' + samlauth_map: '0' search: '0' + taxonomy_term_pages: '0' user_admin_people: '0' allowed_display_types: viewfield_block: viewfield_block block: '0' default: '0' + graphql: '0' page: '0' handler: 'default:view' - handler_settings: { } + handler_settings: + target_bundles: null + auto_create: false field_type: viewfield diff --git a/config/sync/views.view.stanford_opportunities.yml b/config/sync/views.view.stanford_opportunities.yml new file mode 100644 index 00000000..8a00b812 --- /dev/null +++ b/config/sync/views.view.stanford_opportunities.yml @@ -0,0 +1,751 @@ +uuid: e8590ccb-d492-42e7-b2a0-3e87986f3ab2 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.stanford_h3_card + - core.entity_view_mode.node.teaser + - node.type.stanford_opportunity + - taxonomy.vocabulary.opportunity_tag_filters + module: + - datetime + - graphql_compose_views + - node + - stanford_fields + - taxonomy + - user + - views_infinite_scroll +id: stanford_opportunities +label: Opportunities +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Master + display_plugin: default + position: 0 + display_options: + title: Opportunities + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: true + text: '

{{ title }}

' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + pager: + type: full + options: + offset: 0 + pagination_heading_level: h4 + items_per_page: 20 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: { } + sorts: + su_opp_start_date_value: + id: su_opp_start_date_value + table: node__su_opp_start_date + field: su_opp_start_date_value + relationship: none + group_type: group + admin_label: '' + plugin_id: datetime + order: ASC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + arguments: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + stanford_opportunity: stanford_opportunity + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + filter_groups: + operator: AND + groups: + 1: AND + style: + type: html_list + options: + grouping: + - + field: su_schedule_date_time_value + rendered: true + rendered_strip: false + row_class: '' + default_row_class: true + type: ul + wrapper_class: '' + class: su-list-unstyled + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + contextual_filters_or: false + relationships: { } + css_class: stanford-opportunities-list-page + use_ajax: true + link_display: '0' + link_url: '' + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + cards: + id: cards + display_title: 'Card Grid' + display_plugin: viewfield_block + position: 2 + display_options: + display_extenders: { } + display_description: 'Grid - All Items' + block_description: '' + block_hide_empty: false + block_category: 'Opportunities (Views)' + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: title + plugin_id: field + defaults: + fields: false + style: false + row: false + arguments: true + css_class: false + pager: false + title: false + style: + type: html_list + options: + row_class: '' + default_row_class: 1 + uses_fields: 0 + type: ul + wrapper_class: '' + class: 'su-list-unstyled grid-container-3' + row: + type: 'entity:node' + options: + relationship: none + view_mode: stanford_h3_card + css_class: '' + pager: + type: some + options: + items_per_page: 3 + offset: 0 + title: 'Opportunities Card Grid' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: { } + graphql: + id: graphql + display_title: GraphQL + display_plugin: graphql + position: 5 + display_options: + title: 'Opportunities List' + pager: + type: full + options: + offset: 0 + pagination_heading_level: h4 + items_per_page: 30 + total_pages: null + id: 0 + tags: + next: 'Next ›' + previous: '‹ Previous' + first: '« First' + last: 'Last »' + expose: + items_per_page: true + items_per_page_label: 'Items per page' + items_per_page_options: '3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99' + items_per_page_options_all: true + items_per_page_options_all_label: '- All -' + offset: true + offset_label: Offset + quantity: 9 + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + stanford_opportunity: stanford_opportunity + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + su_opp_tags_target_id: + id: su_opp_tags_target_id + table: node__su_opp_tags + field: su_opp_tags_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: su_opp_tags_target_id_op + label: Filter + description: '' + use_operator: false + operator: su_opp_tags_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: tags + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + administrator: '0' + anonymous: '0' + stanford_faculty: '0' + stanford_staff: '0' + stanford_student: '0' + contributor: '0' + site_manager: '0' + site_editor: '0' + site_builder: '0' + site_developer: '0' + layout_builder_user: '0' + su_site_embedder: '0' + decoupled_site_users: '0' + opportunity_editor: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: opportunity_tag_filters + type: select + hierarchy: true + limit: true + error_message: true + filter_groups: + operator: AND + groups: + 1: AND + defaults: + title: false + style: true + row: true + fields: true + arguments: true + filters: false + filter_groups: false + display_description: 'List - All Items' + display_extenders: { } + graphql_query_name: stanfordOpportunities + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + list_page: + id: list_page + display_title: 'Default List' + display_plugin: viewfield_block + position: 1 + display_options: + display_extenders: { } + display_description: 'List - All Items' + block_description: '' + block_hide_empty: false + block_category: 'Opportunities (Views)' + defaults: + fields: true + style: true + row: true + arguments: true + title: false + pager: false + title: 'Opportunities List' + pager: + type: infinite_scroll + options: + pagination_heading_level: h4 + items_per_page: '20' + offset: '0' + id: '0' + total_pages: '' + tags: + previous: '‹ Previous' + next: 'Next ›' + expose: + items_per_page: 0 + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: 0 + items_per_page_options_all_label: '- All -' + offset: 0 + offset_label: Offset + views_infinite_scroll: + button_text: 'Load More Opportunities' + automatically_load_content: 0 + initially_load_all_pages: 0 + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + list_page_filtered: + id: list_page_filtered + display_title: 'Taxonomy Term Page List' + display_plugin: block + position: 3 + display_options: + title: 'Opportunities Taxonomy Term Page' + arguments: + term_node_tid_depth: + id: term_node_tid_depth + table: node_field_data + field: term_node_tid_depth + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: taxonomy_index_tid_depth + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: taxonomy_tid + default_argument_options: + term_page: '1' + node: false + limit: false + vids: { } + anyall: ',' + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + depth: 10 + use_taxonomy_term_path: false + style: + type: html_list + options: + grouping: { } + row_class: '' + default_row_class: true + type: ul + wrapper_class: '' + class: su-list-unstyled + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + defaults: + title: false + style: false + row: false + fields: true + arguments: false + display_description: 'List - All Items' + display_extenders: { } + block_description: '' + block_category: 'Opportunities (Views)' + block_hide_empty: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + more_opportunities_block: + id: more_opportunities_block + display_title: 'Explore More Opportunities Block' + display_plugin: block + position: 4 + display_options: + title: 'Opportunities Explore More' + pager: + type: some + options: + offset: 0 + items_per_page: 3 + arguments: + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: nid + plugin_id: node_nid + default_action: default + exception: + value: all + title_enable: false + title: All + title_enable: false + title: '' + default_argument_type: node + default_argument_options: { } + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: true + defaults: + title: false + css_class: true + pager: false + use_more: true + use_more_always: true + use_more_text: true + link_display: false + link_url: false + style: true + row: true + fields: true + arguments: false + display_description: 'Explore More Opportunities Block' + link_display: '0' + link_url: '' + display_extenders: { } + block_category: 'Opportunities (Views)' + block_hide_empty: true + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } diff --git a/content/taxonomy_term/254eea9a-320a-400a-b12c-a7bc582d9f61.yml b/content/taxonomy_term/254eea9a-320a-400a-b12c-a7bc582d9f61.yml new file mode 100644 index 00000000..7210da81 --- /dev/null +++ b/content/taxonomy_term/254eea9a-320a-400a-b12c-a7bc582d9f61.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 254eea9a-320a-400a-b12c-a7bc582d9f61 + bundle: opportunity_tag_filters + default_langcode: en + depends: + ecfa5c86-dbd0-4007-95b8-02b6ee574a2c: taxonomy_term +default: + status: + - + value: true + name: + - + value: Winter + weight: + - + value: 3 + parent: + - + entity: ecfa5c86-dbd0-4007-95b8-02b6ee574a2c + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Winter | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/80' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/42d15ff2-9a03-418e-8298-704909f22779.yml b/content/taxonomy_term/42d15ff2-9a03-418e-8298-704909f22779.yml new file mode 100644 index 00000000..4d38befb --- /dev/null +++ b/content/taxonomy_term/42d15ff2-9a03-418e-8298-704909f22779.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 42d15ff2-9a03-418e-8298-704909f22779 + bundle: opportunity_tag_filters + default_langcode: en + depends: + ecfa5c86-dbd0-4007-95b8-02b6ee574a2c: taxonomy_term +default: + status: + - + value: true + name: + - + value: Summer + weight: + - + value: 2 + parent: + - + entity: ecfa5c86-dbd0-4007-95b8-02b6ee574a2c + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Summer | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/82' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/59456731-36df-4d80-999d-eea34175f622.yml b/content/taxonomy_term/59456731-36df-4d80-999d-eea34175f622.yml new file mode 100644 index 00000000..af279fdd --- /dev/null +++ b/content/taxonomy_term/59456731-36df-4d80-999d-eea34175f622.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 59456731-36df-4d80-999d-eea34175f622 + bundle: opportunity_tag_filters + default_langcode: en + depends: + ecfa5c86-dbd0-4007-95b8-02b6ee574a2c: taxonomy_term +default: + status: + - + value: true + name: + - + value: Autumn + weight: + - + value: 0 + parent: + - + entity: ecfa5c86-dbd0-4007-95b8-02b6ee574a2c + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Autumn | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/79' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/640473e4-2dcf-494d-b583-febff0352d3b.yml b/content/taxonomy_term/640473e4-2dcf-494d-b583-febff0352d3b.yml new file mode 100644 index 00000000..43b4c731 --- /dev/null +++ b/content/taxonomy_term/640473e4-2dcf-494d-b583-febff0352d3b.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 640473e4-2dcf-494d-b583-febff0352d3b + bundle: opportunity_type + default_langcode: en +default: + status: + - + value: true + name: + - + value: Grant + weight: + - + value: 2 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Grant | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/77' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/66513756-0056-456e-b0b2-7d3438e7ac65.yml b/content/taxonomy_term/66513756-0056-456e-b0b2-7d3438e7ac65.yml new file mode 100644 index 00000000..e213c7a4 --- /dev/null +++ b/content/taxonomy_term/66513756-0056-456e-b0b2-7d3438e7ac65.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 66513756-0056-456e-b0b2-7d3438e7ac65 + bundle: opportunity_type + default_langcode: en +default: + status: + - + value: true + name: + - + value: Internship + weight: + - + value: 3 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Internship | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/76' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/67d3e82b-5d77-49ee-8821-26e278d86f59.yml b/content/taxonomy_term/67d3e82b-5d77-49ee-8821-26e278d86f59.yml new file mode 100644 index 00000000..a3024f6d --- /dev/null +++ b/content/taxonomy_term/67d3e82b-5d77-49ee-8821-26e278d86f59.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 67d3e82b-5d77-49ee-8821-26e278d86f59 + bundle: opportunity_tag_filters + default_langcode: en + depends: + fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5: taxonomy_term +default: + status: + - + value: true + name: + - + value: Undergraduate + weight: + - + value: 2 + parent: + - + entity: fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Undergraduate | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/84' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/6a4ed963-bdb8-4ad5-9162-d0e6c319bc19.yml b/content/taxonomy_term/6a4ed963-bdb8-4ad5-9162-d0e6c319bc19.yml new file mode 100644 index 00000000..c13dd324 --- /dev/null +++ b/content/taxonomy_term/6a4ed963-bdb8-4ad5-9162-d0e6c319bc19.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 6a4ed963-bdb8-4ad5-9162-d0e6c319bc19 + bundle: opportunity_tag_filters + default_langcode: en + depends: + ecfa5c86-dbd0-4007-95b8-02b6ee574a2c: taxonomy_term +default: + status: + - + value: true + name: + - + value: Spring + weight: + - + value: 1 + parent: + - + entity: ecfa5c86-dbd0-4007-95b8-02b6ee574a2c + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Spring | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/81' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/94a3e0f8-b9a8-47f9-8d47-5b7e02e5b07f.yml b/content/taxonomy_term/94a3e0f8-b9a8-47f9-8d47-5b7e02e5b07f.yml new file mode 100644 index 00000000..0f94cb9c --- /dev/null +++ b/content/taxonomy_term/94a3e0f8-b9a8-47f9-8d47-5b7e02e5b07f.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 94a3e0f8-b9a8-47f9-8d47-5b7e02e5b07f + bundle: opportunity_tag_filters + default_langcode: en + depends: + df98b493-6c5a-41e4-b21a-6506045b4ef0: taxonomy_term +default: + status: + - + value: true + name: + - + value: Off-campus + weight: + - + value: 0 + parent: + - + entity: df98b493-6c5a-41e4-b21a-6506045b4ef0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Off-campus | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/89' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/9d9d1d6b-cfe0-471c-a621-7b0161eafc8a.yml b/content/taxonomy_term/9d9d1d6b-cfe0-471c-a621-7b0161eafc8a.yml new file mode 100644 index 00000000..98b239f4 --- /dev/null +++ b/content/taxonomy_term/9d9d1d6b-cfe0-471c-a621-7b0161eafc8a.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 9d9d1d6b-cfe0-471c-a621-7b0161eafc8a + bundle: opportunity_type + default_langcode: en +default: + status: + - + value: true + name: + - + value: Research + weight: + - + value: 4 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Research | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/74' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/beb0218b-a76c-4f72-a485-b00271d380d5.yml b/content/taxonomy_term/beb0218b-a76c-4f72-a485-b00271d380d5.yml new file mode 100644 index 00000000..7f270880 --- /dev/null +++ b/content/taxonomy_term/beb0218b-a76c-4f72-a485-b00271d380d5.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: beb0218b-a76c-4f72-a485-b00271d380d5 + bundle: opportunity_tag_filters + default_langcode: en + depends: + df98b493-6c5a-41e4-b21a-6506045b4ef0: taxonomy_term +default: + status: + - + value: true + name: + - + value: On-campus + weight: + - + value: 1 + parent: + - + entity: df98b493-6c5a-41e4-b21a-6506045b4ef0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'On-campus | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/88' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/d01c2178-65fc-48eb-a427-100850e99649.yml b/content/taxonomy_term/d01c2178-65fc-48eb-a427-100850e99649.yml new file mode 100644 index 00000000..41886f95 --- /dev/null +++ b/content/taxonomy_term/d01c2178-65fc-48eb-a427-100850e99649.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: d01c2178-65fc-48eb-a427-100850e99649 + bundle: opportunity_tag_filters + default_langcode: en + depends: + fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5: taxonomy_term +default: + status: + - + value: true + name: + - + value: Graduate + weight: + - + value: 1 + parent: + - + entity: fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Graduate | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/85' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/df98b493-6c5a-41e4-b21a-6506045b4ef0.yml b/content/taxonomy_term/df98b493-6c5a-41e4-b21a-6506045b4ef0.yml new file mode 100644 index 00000000..743af968 --- /dev/null +++ b/content/taxonomy_term/df98b493-6c5a-41e4-b21a-6506045b4ef0.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: df98b493-6c5a-41e4-b21a-6506045b4ef0 + bundle: opportunity_tag_filters + default_langcode: en +default: + status: + - + value: true + name: + - + value: Location + weight: + - + value: 2 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Location | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/87' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/e8c58911-9775-4393-83db-a3beddd58e08.yml b/content/taxonomy_term/e8c58911-9775-4393-83db-a3beddd58e08.yml new file mode 100644 index 00000000..60eb71c4 --- /dev/null +++ b/content/taxonomy_term/e8c58911-9775-4393-83db-a3beddd58e08.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: e8c58911-9775-4393-83db-a3beddd58e08 + bundle: opportunity_type + default_langcode: en +default: + status: + - + value: true + name: + - + value: Course + weight: + - + value: 0 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Course | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/73' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/ecfa5c86-dbd0-4007-95b8-02b6ee574a2c.yml b/content/taxonomy_term/ecfa5c86-dbd0-4007-95b8-02b6ee574a2c.yml new file mode 100644 index 00000000..65c17f61 --- /dev/null +++ b/content/taxonomy_term/ecfa5c86-dbd0-4007-95b8-02b6ee574a2c.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: ecfa5c86-dbd0-4007-95b8-02b6ee574a2c + bundle: opportunity_tag_filters + default_langcode: en +default: + status: + - + value: true + name: + - + value: Quarter + weight: + - + value: 0 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Quarter | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/78' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/eda262e0-4fba-452d-bb47-9ae84b576b8b.yml b/content/taxonomy_term/eda262e0-4fba-452d-bb47-9ae84b576b8b.yml new file mode 100644 index 00000000..8d6f614e --- /dev/null +++ b/content/taxonomy_term/eda262e0-4fba-452d-bb47-9ae84b576b8b.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: eda262e0-4fba-452d-bb47-9ae84b576b8b + bundle: opportunity_type + default_langcode: en +default: + status: + - + value: true + name: + - + value: Fellowship + weight: + - + value: 1 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Fellowship | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/75' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/ee1e20b8-ffc3-490f-8975-9fe281cad65c.yml b/content/taxonomy_term/ee1e20b8-ffc3-490f-8975-9fe281cad65c.yml new file mode 100644 index 00000000..edf09f3b --- /dev/null +++ b/content/taxonomy_term/ee1e20b8-ffc3-490f-8975-9fe281cad65c.yml @@ -0,0 +1,64 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: ee1e20b8-ffc3-490f-8975-9fe281cad65c + bundle: opportunity_tag_filters + default_langcode: en + depends: + fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5: taxonomy_term +default: + status: + - + value: true + name: + - + value: Coterm + weight: + - + value: 0 + parent: + - + entity: fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Coterm | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/86' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default diff --git a/content/taxonomy_term/fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5.yml b/content/taxonomy_term/fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5.yml new file mode 100644 index 00000000..156e102c --- /dev/null +++ b/content/taxonomy_term/fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5.yml @@ -0,0 +1,62 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: fb6a03cb-6d0d-4a08-8e89-cb518cf4e9c5 + bundle: opportunity_tag_filters + default_langcode: en +default: + status: + - + value: true + name: + - + value: Eligibility + weight: + - + value: 1 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Eligibility | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/83' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 0 + rh_action: + - + value: bundle_default + rh_redirect_response: + - + value: 301 + rh_redirect_fallback_action: + - + value: bundle_default From 44a9c9f850f0942783da32a443b76371498dae7c Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 6 Nov 2024 07:47:22 -0800 Subject: [PATCH 3/7] D8CORE-7454: Move back-to-top inside the
element --- themes/stanford_basic/dist/css/theme.css | 2 +- themes/stanford_basic/src/scss/theme/_back_to_top.scss | 1 + themes/stanford_basic/templates/page.html.twig | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/themes/stanford_basic/dist/css/theme.css b/themes/stanford_basic/dist/css/theme.css index 5f3997b4..8b761a9f 100644 --- a/themes/stanford_basic/dist/css/theme.css +++ b/themes/stanford_basic/dist/css/theme.css @@ -1 +1 @@ -.stanford-basic--outline{outline:0;position:relative}.block--local-tasks{margin:0 auto 10px;z-index:10}.block--local-tasks li,.block--local-tasks ul{margin:0}.block--local-tasks ul{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;list-style:none;margin-top:15px;padding-left:0}@media (max-width:767px){.block--local-tasks ul{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:8px}}@media screen and (max-width:767px) and (min-width:610px){.block--local-tasks ul{margin-top:0}}@media (max-width:609px){.block--local-tasks ul{margin-top:0}}.block--local-tasks ul li{line-height:unset}.block--local-tasks.sticky{position:fixed;top:0;width:100%;z-index:15}@media (max-width:991px){.block--local-tasks.sticky{position:relative}}.block--local-tasks .page-content-label{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.block--local-tasks .edit{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.block--local-tasks .delete{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}@media (max-width:767px){.block--local-tasks .delete{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}}.block--local-tasks .delete a:before{content:"\f2ed";font-family:Font Awesome\ 5 Free;font-size:1.6rem;font-weight:400;padding-left:1em;padding-right:1em}@media (min-width:768px){.block--local-tasks .delete a:before{font-size:1.8rem}}@media (min-width:1500px){.block--local-tasks .delete a:before{font-size:1.9rem}}.block--local-tasks .manage-display{-webkit-box-ordinal-group:6;-ms-flex-order:5;margin-left:auto;order:5}@media (max-width:767px){.block--local-tasks .manage-display{margin-left:0}}.block--local-tasks .layout,.block--local-tasks .shortcuts{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.block--local-tasks .roles,.block--local-tasks .version-history{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.block--local-tasks .devel{display:none}.block--local-tasks a{text-wrap:nowrap;background-color:#006cb8;border-bottom:1px solid #00548f;border-right:1px solid #00548f;color:#fff;font-weight:400;padding:15px;text-decoration:none}@media (max-width:767px){.block--local-tasks a{display:block}}.block--local-tasks a.is-active,.block--local-tasks a:focus,.block--local-tasks a:hover{background-color:#00548f;color:#fff}.role--anonymous .stanford-basic--outline{-webkit-transition:none;transition:none}.role--anonymous .stanford-basic--outline:focus,.role--anonymous .stanford-basic--outline:hover{outline:0}.role--anonymous .stanford-basic--outline .block--local-tasks{opacity:1}.role--anonymous .stanford-basic--outline .block--local-tasks.sticky{position:relative}#back-to-top{border-radius:7px;bottom:20px;display:none;position:fixed;right:20px;text-align:center} \ No newline at end of file +.stanford-basic--outline{outline:0;position:relative}.block--local-tasks{margin:0 auto 10px;z-index:10}.block--local-tasks li,.block--local-tasks ul{margin:0}.block--local-tasks ul{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;list-style:none;margin-top:15px;padding-left:0}@media (max-width:767px){.block--local-tasks ul{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:8px}}@media screen and (max-width:767px) and (min-width:610px){.block--local-tasks ul{margin-top:0}}@media (max-width:609px){.block--local-tasks ul{margin-top:0}}.block--local-tasks ul li{line-height:unset}.block--local-tasks.sticky{position:fixed;top:0;width:100%;z-index:15}@media (max-width:991px){.block--local-tasks.sticky{position:relative}}.block--local-tasks .page-content-label{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.block--local-tasks .edit{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.block--local-tasks .delete{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}@media (max-width:767px){.block--local-tasks .delete{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}}.block--local-tasks .delete a:before{content:"\f2ed";font-family:Font Awesome\ 5 Free;font-size:1.6rem;font-weight:400;padding-left:1em;padding-right:1em}@media (min-width:768px){.block--local-tasks .delete a:before{font-size:1.8rem}}@media (min-width:1500px){.block--local-tasks .delete a:before{font-size:1.9rem}}.block--local-tasks .manage-display{-webkit-box-ordinal-group:6;-ms-flex-order:5;margin-left:auto;order:5}@media (max-width:767px){.block--local-tasks .manage-display{margin-left:0}}.block--local-tasks .layout,.block--local-tasks .shortcuts{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.block--local-tasks .roles,.block--local-tasks .version-history{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.block--local-tasks .devel{display:none}.block--local-tasks a{text-wrap:nowrap;background-color:#006cb8;border-bottom:1px solid #00548f;border-right:1px solid #00548f;color:#fff;font-weight:400;padding:15px;text-decoration:none}@media (max-width:767px){.block--local-tasks a{display:block}}.block--local-tasks a.is-active,.block--local-tasks a:focus,.block--local-tasks a:hover{background-color:#00548f;color:#fff}.role--anonymous .stanford-basic--outline{-webkit-transition:none;transition:none}.role--anonymous .stanford-basic--outline:focus,.role--anonymous .stanford-basic--outline:hover{outline:0}.role--anonymous .stanford-basic--outline .block--local-tasks{opacity:1}.role--anonymous .stanford-basic--outline .block--local-tasks.sticky{position:relative}#back-to-top{border-radius:7px;bottom:20px;display:none;position:fixed;right:20px;text-align:center;z-index:5} \ No newline at end of file diff --git a/themes/stanford_basic/src/scss/theme/_back_to_top.scss b/themes/stanford_basic/src/scss/theme/_back_to_top.scss index 09ad43d2..8a2d8ce0 100644 --- a/themes/stanford_basic/src/scss/theme/_back_to_top.scss +++ b/themes/stanford_basic/src/scss/theme/_back_to_top.scss @@ -7,4 +7,5 @@ right: 20px; text-align: center; border-radius: 7px; + z-index: 5; } diff --git a/themes/stanford_basic/templates/page.html.twig b/themes/stanford_basic/templates/page.html.twig index bc4c5a42..365e8d51 100755 --- a/themes/stanford_basic/templates/page.html.twig +++ b/themes/stanford_basic/templates/page.html.twig @@ -59,6 +59,11 @@ {%- block block_main -%} {{ page.content }} {%- endblock -%} + +
{# Footer Section #} @@ -68,8 +73,3 @@ {%- include template_global_footer with { modifier_class : global_footer_variant } -%} {%- endblock -%} - - From e3755a178ef53914000354761da4e4720b1fddfd Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 6 Nov 2024 08:59:41 -0800 Subject: [PATCH 4/7] D8CORE-6821 Adjust skip to main content location --- themes/stanford_basic/dist/js/behaviors.js | 13 ++++++++++--- .../src/js/stanford_basic.behavior.js | 13 ++++++++++--- .../views/views-infinite-scroll-pager.html.twig | 14 ++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 themes/stanford_basic/templates/views/views-infinite-scroll-pager.html.twig diff --git a/themes/stanford_basic/dist/js/behaviors.js b/themes/stanford_basic/dist/js/behaviors.js index 147d21df..99cd648c 100644 --- a/themes/stanford_basic/dist/js/behaviors.js +++ b/themes/stanford_basic/dist/js/behaviors.js @@ -53,9 +53,16 @@ window.Drupal.behaviors.stanford_basic = { (function ($, once) { // Validate there is a skip link anchor for the main content. If not, // default to #page-content. - var $mc = $('#main-content', context).length; - if (!$mc) { - $('.su-skipnav--content', context).attr('href', '#page-content'); + var $title = $('h1', context); + if ($title.length) { + if (!$title.attr('id')) { + $title.attr('id', 'page-title'); + } + $('.su-masthead .su-skipnav--content', context).attr('href', '#' + $title.attr('id')); + } else { + if ($('#main-content', context).length === 0) { + $('.su-skipnav--content', context).attr('href', '#page-content'); + } } // Validate there is a skip link for the secondary navigation. If not, diff --git a/themes/stanford_basic/src/js/stanford_basic.behavior.js b/themes/stanford_basic/src/js/stanford_basic.behavior.js index 7d4e40fa..d63737ee 100644 --- a/themes/stanford_basic/src/js/stanford_basic.behavior.js +++ b/themes/stanford_basic/src/js/stanford_basic.behavior.js @@ -14,9 +14,16 @@ export default { (function ($, once) { // Validate there is a skip link anchor for the main content. If not, // default to #page-content. - var $mc = $('#main-content', context).length; - if (!$mc) { - $('.su-skipnav--content', context).attr('href', '#page-content'); + const $title = $('h1', context); + if ($title.length) { + if (!$title.attr('id')) { + $title.attr('id', 'page-title'); + } + $('.su-masthead .su-skipnav--content', context).attr('href', '#' + $title.attr('id')); + } else { + if (!$('#main-content', context).length) { + $('.su-skipnav--content', context).attr('href', '#page-content'); + } } // Validate there is a skip link for the secondary navigation. If not, diff --git a/themes/stanford_basic/templates/views/views-infinite-scroll-pager.html.twig b/themes/stanford_basic/templates/views/views-infinite-scroll-pager.html.twig new file mode 100644 index 00000000..ba2315b8 --- /dev/null +++ b/themes/stanford_basic/templates/views/views-infinite-scroll-pager.html.twig @@ -0,0 +1,14 @@ +{# +/** + * @file + * The views infinite scroll pager template. + */ +#} + +{% if items.next %} + + + +{% endif %} From 8a596dbdf1e915e100d61ee5c80af1c9ca19cf22 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 6 Nov 2024 12:46:55 -0800 Subject: [PATCH 5/7] Added aria label to masthead section --- themes/stanford_basic/templates/page.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/stanford_basic/templates/page.html.twig b/themes/stanford_basic/templates/page.html.twig index 365e8d51..9eaa9774 100755 --- a/themes/stanford_basic/templates/page.html.twig +++ b/themes/stanford_basic/templates/page.html.twig @@ -45,7 +45,7 @@ {{ page.help }} {%- endblock -%} -
+
{{ page.header }} {{ page.search }} {{ page.menu }} From 58b7f319a59677e1738c7f5243902b26c742986e Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 6 Nov 2024 13:39:08 -0800 Subject: [PATCH 6/7] D8CORE-5828 If home page starts with a wysiwyg, add some space at the top --- themes/stanford_basic/dist/css/layout.css | 2 +- themes/stanford_basic/dist/js/behaviors.js | 2 +- .../stanford_basic/src/scss/layout/_page.scss | 4 ++++ themes/stanford_basic/stanford_basic.theme | 20 +++++++++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/themes/stanford_basic/dist/css/layout.css b/themes/stanford_basic/dist/css/layout.css index a328bbe5..4918b27c 100644 --- a/themes/stanford_basic/dist/css/layout.css +++ b/themes/stanford_basic/dist/css/layout.css @@ -1 +1 @@ -.dialog-off-canvas-main-canvas,body{height:100%;margin:0;min-height:100vh;padding:0;width:100%}.dialog-off-canvas-main-canvas{-ms-flex-preferred-size:100%;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;flex-basis:100%;-ms-flex-direction:column;flex-direction:column;justify-content:flex-start}.dialog-off-canvas-main-canvas #footer{margin-top:auto}html{display:-webkit-box;display:-ms-flexbox;display:flex}.label-inline>*{display:inline-block}.label-inline>:first-child:after{content:":"}[data-island]{width:100%} \ No newline at end of file +.dialog-off-canvas-main-canvas,body{height:100%;margin:0;min-height:100vh;padding:0;width:100%}.dialog-off-canvas-main-canvas{-ms-flex-preferred-size:100%;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;flex-basis:100%;-ms-flex-direction:column;flex-direction:column;justify-content:flex-start}.dialog-off-canvas-main-canvas #footer{margin-top:auto}html{display:-webkit-box;display:-ms-flexbox;display:flex}.label-inline>*{display:inline-block}.label-inline>:first-child:after{content:":"}[data-island]{width:100%}.add-more-space-to-top{margin:8rem 0 0} \ No newline at end of file diff --git a/themes/stanford_basic/dist/js/behaviors.js b/themes/stanford_basic/dist/js/behaviors.js index 99cd648c..b92b171f 100644 --- a/themes/stanford_basic/dist/js/behaviors.js +++ b/themes/stanford_basic/dist/js/behaviors.js @@ -60,7 +60,7 @@ window.Drupal.behaviors.stanford_basic = { } $('.su-masthead .su-skipnav--content', context).attr('href', '#' + $title.attr('id')); } else { - if ($('#main-content', context).length === 0) { + if (!$('#main-content', context).length) { $('.su-skipnav--content', context).attr('href', '#page-content'); } } diff --git a/themes/stanford_basic/src/scss/layout/_page.scss b/themes/stanford_basic/src/scss/layout/_page.scss index 73bc10f4..0778c3b0 100644 --- a/themes/stanford_basic/src/scss/layout/_page.scss +++ b/themes/stanford_basic/src/scss/layout/_page.scss @@ -31,3 +31,7 @@ body { [data-island] { width: 100%; } + +.add-more-space-to-top { + @include margin(8rem 0 0); +} diff --git a/themes/stanford_basic/stanford_basic.theme b/themes/stanford_basic/stanford_basic.theme index 4bc9d3bc..dff2e973 100755 --- a/themes/stanford_basic/stanford_basic.theme +++ b/themes/stanford_basic/stanford_basic.theme @@ -88,6 +88,26 @@ function stanford_basic_preprocess_node(&$variables) { $node_bundle = $variables['node']->bundle(); $variables['#attached']['library'][] = 'stanford_basic/content.' . $node_bundle; unset($variables['content']['book_navigation']); + + // If the home page (no page title) has a wysiwyg as the first component, and + // it does not have a page banner, at a class that will create a little space + // at the top of the page. + if ( + $variables['page'] && + $node_bundle == 'stanford_page' && + \Drupal::service('path.matcher')->isFrontPage() + ) { + /** @var \Drupal\node\NodeInterface $node */ + $node = $variables['node']; + if ( + !$node->get('su_page_banner')->count() && + $node->get('su_page_components')->count() >= 2 && + $node->get('su_page_components') + ->get(1)->entity->bundle() == 'stanford_wysiwyg' + ) { + $variables['attributes']['class'][] = 'add-more-space-to-top'; + } + } } /** From a3b380e5da27a36272386a0e500615a1e37890ac Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 6 Nov 2024 14:59:50 -0800 Subject: [PATCH 7/7] D8CORE-6644 Omit default favicons if one is uploaded in the theme settings --- themes/stanford_basic/stanford_basic.theme | 3 ++ .../stanford_basic/templates/html.html.twig | 31 ++++++++++--------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/themes/stanford_basic/stanford_basic.theme b/themes/stanford_basic/stanford_basic.theme index dff2e973..198585bb 100755 --- a/themes/stanford_basic/stanford_basic.theme +++ b/themes/stanford_basic/stanford_basic.theme @@ -144,6 +144,9 @@ function stanford_basic_page_attachments_alter(array &$attachments) { * Prepares variables for the html.html.twig template. */ function stanford_basic_preprocess_html(&$variables) { + $favicon = theme_get_setting('favicon') ?: []; + $variables['custom_favicon'] = isset($favicon['use_default']) && !$favicon['use_default'] && !empty($favicon['path']); + try { $variables['is_front'] = \Drupal::service('path.matcher')->isFrontPage(); } diff --git a/themes/stanford_basic/templates/html.html.twig b/themes/stanford_basic/templates/html.html.twig index 79eca4b7..1658df87 100755 --- a/themes/stanford_basic/templates/html.html.twig +++ b/themes/stanford_basic/templates/html.html.twig @@ -34,21 +34,24 @@ - - - - - - - - - - - - - - + {% if not custom_favicon %} + + + + + + + + + + + + + + + + {% endif %}