From cffbdcd764b11fd02fa86b15e6dec37b03d1c09c Mon Sep 17 00:00:00 2001 From: Fabian Schieder Date: Sat, 28 Feb 2026 20:20:48 +0100 Subject: [PATCH] Update badge text logic in projects_section.php to exclude 'dienste' category --- includes/views/projects_section.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/views/projects_section.php b/includes/views/projects_section.php index 4f06ec5..1a1d25d 100644 --- a/includes/views/projects_section.php +++ b/includes/views/projects_section.php @@ -39,7 +39,7 @@ $detail = $status && !empty($status['detail']) ? (string)$status['detail'] : ''; $badgeText = null; - if ($state !== null) { + if ($state !== null && $category !== 'dienste') { $badgeText = 'Unbekannt'; if ($state === 'up') $badgeText = 'Online'; elseif ($state === 'down') $badgeText = 'Offline';