From 113db3fb017a678a13259ce940e79865bcf7a3c4 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 2 May 2021 07:53:20 +0200 Subject: [PATCH] change type of badge depending on count --- 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 99567efa8..7b5ad6030 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -670,7 +670,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $content .= ' '.$attr[0].'="'.$attr[1].'"'; $content .= '>'; $content .= $menuitem['label']; - $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 6aabb0104..2e858e2fe 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -590,7 +590,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $content .= '>'; $content .= $menuitem['label']; $content .= ' '."\n"; - $content .= ''.$menuitem['badge'].""; + $content .= ''.$menuitem['badge'].""; $content .= " \n"; }