Fix spacing / sizing for "obsolescence" icon on external keys

This commit is contained in:
Molkobain
2021-02-24 13:28:39 +01:00
parent cdfdfc75ab
commit 1667a0a6df
5 changed files with 29 additions and 25 deletions

View File

@@ -924,7 +924,7 @@ $(function()
{
var sEscapedLabel = sLabel; // Note: We don't escape this anymore as there is an issue with AttributeExternalKey being already escaped. This will be put back in iTop 2.7 with the AttributeDefinition::GetAllowedValues() refactoring. $('<div />').text(sLabel).html();
if (bObsolete == 1) {
sEscapedLabel = '<span class="object-ref-icon fas fa-eye-slash object-obsolete fa-1x fa-fw"></span>'+sEscapedLabel;
sEscapedLabel = '<span class="object-ref-icon text_decoration"><span class="fas fa-eye-slash object-obsolete fa-1x fa-fw"></span></span>'+sEscapedLabel;
}
if (sAdditionalField != undefined ) {