From 052fee8222cca071d6e62be3f448f91a9dcf2415 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 12 Feb 2025 13:16:36 +0100 Subject: [PATCH] badges can have a type --- views/bootstrap/class.Bootstrap.php | 2 +- views/bootstrap4/class.Bootstrap4.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index a816f90ff..ae5228d2c 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -717,7 +717,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $content .= '>'; $content .= $menuitem['label']; if(!empty($menuitem['badge'])) - $content .= ''.$menuitem['badge'].""; + $content .= ''.$menuitem['badge'].""; $content .= ' '."\n"; $content .= " \n"; } diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index 7cf96474c..1bdd4e5cd 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -651,7 +651,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $content .= $menuitem['label']; $content .= ' '."\n"; if(!empty($menuitem['badge'])) - $content .= ''.$menuitem['badge'].""; + $content .= ''.$menuitem['badge'].""; $content .= " \n"; }