mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 14:28:53 +02:00
N°931 TagSet in history : display "added" in bold and "removed" as striked
This commit is contained in:
@@ -7188,7 +7188,7 @@ class AttributeTagSet extends AttributeSet
|
||||
$aRemoved[] = $sTagLabel;
|
||||
}
|
||||
|
||||
$sRemoved = $this->GenerateViewHtmlForValues($aRemoved);
|
||||
$sRemoved = $this->GenerateViewHtmlForValues($aRemoved, 'history-removed');
|
||||
if (!empty($sRemoved))
|
||||
{
|
||||
$sResult .= Dict::Format('Change:LinkSet:Removed', $sRemoved);
|
||||
@@ -7217,7 +7217,7 @@ class AttributeTagSet extends AttributeSet
|
||||
$aAdded[] = $sTagLabel;
|
||||
}
|
||||
|
||||
$sAdded = $this->GenerateViewHtmlForValues($aAdded);
|
||||
$sAdded = $this->GenerateViewHtmlForValues($aAdded, 'history-added');
|
||||
if (!empty($sAdded))
|
||||
{
|
||||
$sResult .= Dict::Format('Change:LinkSet:Added', $sAdded);
|
||||
|
||||
@@ -3324,6 +3324,18 @@ table.listResults .originColor{
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.history-added {
|
||||
.attribute-set-item {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
&.history-removed {
|
||||
.attribute-set-item {
|
||||
text-decoration: line-through;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// - Edit is always styled like the selectize items, see below.
|
||||
|
||||
Reference in New Issue
Block a user