N°3581 - Dashlet: Rename Badge block to Pill as it can contain just a simple text and to avoid confusion with the DashletBadge

This commit is contained in:
Molkobain
2021-03-17 18:36:16 +01:00
parent 8ce2e43780
commit ca2c66733c
9 changed files with 143 additions and 116 deletions

View File

@@ -11,6 +11,15 @@ namespace Combodo\iTop\Application\UI\Helper;
use MetaModel;
// TODO 3.0.0: Delete this class as it is only a temporary helper while code is being reworked.
/**
* Class UIHelper
*
* @internal
* @author Eric Espie <eric.espie@combodo.com>
* @package Combodo\iTop\Application\UI\Helper
* @since 3.0.0
*/
class UIHelper
{
public static function GetColorFromStatus(string $sClass, ?string $sStateCode): string