mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°3882 - Move DataModel classes fields' style to theme instead of (duplicated) inline CSS
This commit is contained in:
@@ -38,16 +38,6 @@ class FieldBadgeUIBlockFactory extends AbstractUIBlockFactory
|
||||
$sHtml .= "<span class=\"ibo-field-badge--decoration\"><i class=\"$sDecorationClasses\"></i></span>";
|
||||
}
|
||||
$sHtml .= "<span class=\"ibo-field-badge--label\">$sValue</span>";
|
||||
// Add custom style
|
||||
// TODO 3.0 To be removed when compilation supports generated CSS
|
||||
$sHtml .= <<<HTML
|
||||
<style>
|
||||
.$sStyleClass {
|
||||
color: $sComplementaryColor;
|
||||
background-color: $sPrimaryColor;
|
||||
}
|
||||
</style>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
if (!$oBadge) {
|
||||
|
||||
Reference in New Issue
Block a user