From 4a9bfb5d145b83cab500ccc994226d0629d096ce Mon Sep 17 00:00:00 2001 From: Kirstien Kroeger Date: Mon, 17 Jun 2024 09:37:07 -0500 Subject: [PATCH 1/3] Update theme.css.tpl --- code/web/interface/themes/responsive/theme.css.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/web/interface/themes/responsive/theme.css.tpl b/code/web/interface/themes/responsive/theme.css.tpl index 31eef0cf45..a8a74e1be6 100644 --- a/code/web/interface/themes/responsive/theme.css.tpl +++ b/code/web/interface/themes/responsive/theme.css.tpl @@ -258,13 +258,13 @@ div.striped > div:nth-child(odd), div.striped > div:nth-child(odd){ldelim} background-color: {$browseCategoryPanelColor}; {rdelim} -.browse-category,#browse-sub-category-menu button, .manual [role="tab"]{ldelim} +.browse-category,#browse-sub-category-menu button, .manual [role="tab"], .manual .hide-browse-sub-category{ldelim} background-color: {$deselectedBrowseCategoryBackgroundColor} !important; border-color: {$deselectedBrowseCategoryBorderColor} !important; color: {$deselectedBrowseCategoryForegroundColor} !important; {rdelim} -.browse-category.selected,.browse-category.selected:hover,#browse-sub-category-menu button.selected,#browse-sub-category-menu button.selected:focus,#browse-sub-category-menu button.selected:hover,#browse-sub-category-menu button:focus,#browse-sub-category-menu button:hover, .manual [role="tab"]:focus, .manual [role="tab"]:hover, .manual [role="tab"][aria-selected="true"]{ldelim} +.browse-category.selected,.browse-category.selected:hover,#browse-sub-category-menu button.selected,#browse-sub-category-menu button.selected:focus,#browse-sub-category-menu button.selected:hover,#browse-sub-category-menu button:focus,#browse-sub-category-menu button:hover, .manual [role="tab"]:focus, .manual [role="tab"]:hover, .manual [role="tab"][aria-selected="true"], .manual [role="tab"][aria-selected="true"] + .hide-browse-sub-category, .manual .hide-browse-sub-category:hover, .manual .hide-browse-sub-category:focus{ldelim} border-color: {$selectedBrowseCategoryBorderColor} !important; background-color: {$selectedBrowseCategoryBackgroundColor} !important; color: {$selectedBrowseCategoryForegroundColor} !important; From b1ddf1a4d0449047397e2334f668e6834ae7eca5 Mon Sep 17 00:00:00 2001 From: Kirstien Kroeger Date: Mon, 17 Jun 2024 12:34:54 -0500 Subject: [PATCH 2/3] Update home.tpl --- code/web/interface/themes/responsive/Search/home.tpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/code/web/interface/themes/responsive/Search/home.tpl b/code/web/interface/themes/responsive/Search/home.tpl index 389b2e18a7..f05f0ea9c4 100644 --- a/code/web/interface/themes/responsive/Search/home.tpl +++ b/code/web/interface/themes/responsive/Search/home.tpl @@ -35,6 +35,17 @@ {/foreach} + {if !empty($isLoggedIn)} + + {/if} + {else}
From 5e2a1e177a73a61ec29497c8c7d87b8d76539b8a Mon Sep 17 00:00:00 2001 From: Kirstien Kroeger Date: Thu, 20 Jun 2024 14:17:40 -0500 Subject: [PATCH 3/3] allow process of changes if fieldLocks is null --- code/web/sys/DataObjectUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/web/sys/DataObjectUtil.php b/code/web/sys/DataObjectUtil.php index ff4eeec2b2..09f9fad462 100644 --- a/code/web/sys/DataObjectUtil.php +++ b/code/web/sys/DataObjectUtil.php @@ -145,7 +145,7 @@ static function validateObject($structure, $object) { static function updateFromUI($object, $structure, $fieldLocks) { foreach ($structure as $property) { - if ($fieldLocks != null && !in_array($property['property'], $fieldLocks)) { + if (($fieldLocks != null && !in_array($property['property'], $fieldLocks)) || $fieldLocks == null) { DataObjectUtil::processProperty($object, $property, $fieldLocks); } }