From 3a0ce9a94e24a9a82e1ef189b8a5e4808defa089 Mon Sep 17 00:00:00 2001 From: Federico Guzman Date: Tue, 28 Jun 2022 18:43:46 -0400 Subject: [PATCH] version badge on admin sidebar Update badge css to math bootstrap v5.1.3 as used in Bludit 4.x. css class names for badges has changed since boostrap 5.x from bagdewarning to bg-warning and badge-pill to rounded-pill. This allows to show correct badge in admin sidebar (menu) --- bl-plugins/version/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/version/plugin.php b/bl-plugins/version/plugin.php index c71efba9..5dc764fa 100644 --- a/bl-plugins/version/plugin.php +++ b/bl-plugins/version/plugin.php @@ -38,7 +38,7 @@ class pluginVersion extends Plugin { global $L; $html = ''; if ($this->getValue('showCurrentVersion')) { - $html = ''.$L->get('Version').' '.(defined('BLUDIT_PRO')?'':'').''.BLUDIT_VERSION.''; + $html = ''.$L->get('Version').' '.(defined('BLUDIT_PRO')?'':'').''.BLUDIT_VERSION.''; } if ($this->getValue('newVersionAlert')) { $html .= '';