Update badge text logic in projects_section.php to exclude 'dienste' category
This commit is contained in:
parent
156a0ddeb3
commit
cffbdcd764
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user