From c41f7b12826242e0ba0aeeac14bc71b108f7d881 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Thu, 20 Apr 2023 14:47:31 -0400 Subject: [PATCH] ISTWCMS-5551: adding help text to office hours exception days --- uw_ct_service.module | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uw_ct_service.module b/uw_ct_service.module index 5e32e76..c81bf5f 100644 --- a/uw_ct_service.module +++ b/uw_ct_service.module @@ -116,6 +116,9 @@ function uw_ct_service_form_node_uw_ct_service_form_alter(array &$form, FormStat ]; $form['#attached']['library'][] = 'uw_ct_service/location_autofill'; $form['#attached']['drupalSettings']['uwCtService'] = _uw_ct_service_load_locations(); + + // ISTWCMS-5551: adding help text to office hours exception days. + $form['field_uw_service_hours']['widget']['office_hours_exceptions']['#description'] = '<p>Exceptions further in the future will display once the exception is under one week away.</p>'; } /** -- GitLab