From e6c05bb945fa23ae0c1e2c9590dc7bbb16ebc708 Mon Sep 17 00:00:00 2001 From: Timur Tripp Date: Wed, 11 Dec 2024 09:36:28 -0700 Subject: [PATCH] CuBoulder/ucb_site_configuration#74 Updates site affiliation --- .../ucb_site_configuration.configuration.yml | 4 ++-- ucb_site_configuration.info.yml | 2 +- ucb_site_configuration.install | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/config/install/ucb_site_configuration.configuration.yml b/config/install/ucb_site_configuration.configuration.yml index 5d4f381..691c8c8 100644 --- a/config/install/ucb_site_configuration.configuration.yml +++ b/config/install/ucb_site_configuration.configuration.yml @@ -146,8 +146,8 @@ site_affiliation_options: label: 'Office of Institutional Equity' type_restricted: false integrity_safety_compliance: - url: '' - label: 'Office of Integrity, Safety and Compliance' + url: 'https://www.colorado.edu/compliance' + label: 'Office of Compliance, Ethics and Policy' type_restricted: false strategic_relations_comm: url: 'https://www.colorado.edu/strategicrelations' diff --git a/ucb_site_configuration.info.yml b/ucb_site_configuration.info.yml index 8be46c2..a05fd29 100644 --- a/ucb_site_configuration.info.yml +++ b/ucb_site_configuration.info.yml @@ -2,7 +2,7 @@ name: CU Boulder Site Configuration description: 'Allows CU Boulder site administrators to configure site-specific settings.' core_version_requirement: ^9 || ^10 type: module -version: '2.9.1' +version: '2.10' package: CU Boulder dependencies: - block diff --git a/ucb_site_configuration.install b/ucb_site_configuration.install index ea1f807..de4ea25 100644 --- a/ucb_site_configuration.install +++ b/ucb_site_configuration.install @@ -133,6 +133,8 @@ function ucb_site_configuration_update_9507() { } /** + * Updates a site affiliation. + * * Renames Infrastructure and Sustainability to Infrastructure and Resilience. * * Introduced in version 2.9 to address issue #65. @@ -142,3 +144,17 @@ function ucb_site_configuration_update_9508() { 'site_affiliation_options', ]); } + +/** + * Updates a site affiliation. + * + * Renames Office of Integrity, Safety and Compliance to Office of Compliance, + * Ethics and Policy, and adds a URL to this affiliation. + * + * Introduced in version 2.10 to address issue #74. + */ +function ucb_site_configuration_update_9509() { + _ucb_site_configuration_update_config([ + 'site_affiliation_options', + ]); +}