diff --git a/Layout/default/ConstructionConsent/View.php b/Layout/default/ConstructionConsent/View.php index 28086a510..51787996c 100644 --- a/Layout/default/ConstructionConsent/View.php +++ b/Layout/default/ConstructionConsent/View.php @@ -295,7 +295,7 @@ $pagination_entity_name = "Adressen";
Zusammenfassung Status (von owners)?>)
owner_status_counts as $type => $count): ?> - + @@ -308,6 +308,8 @@ $pagination_entity_name = "Adressen"; $status_class = 'blue'; // Default to blue (all open) if (isset($item->owner_result_counts['denied']) && $item->owner_result_counts['denied'] > 0) { $status_class = 'red'; // Red if at least one denied + } elseif (isset($item->owner_result_counts['open']) && $item->owner_result_counts['open'] > 0) { + $status_class = 'blue'; // Blue if at least one open } elseif ( (isset($item->owner_result_counts['unresolvable']) && $item->owner_result_counts['unresolvable'] > 0) || (isset($item->owner_result_counts['moved']) && $item->owner_result_counts['moved'] > 0) || @@ -1349,8 +1351,7 @@ $pagination_entity_name = "Adressen"; } .ConstructionConsentOwnerResult-new { - /*red background color here for this tr*/ - background-color: #337ab7 + background-color: #9bcdff; } .ConstructionConsentOwnerResult-denied {