diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 8b0afc534d..c7ba9520df 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -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); diff --git a/css/light-grey.scss b/css/light-grey.scss index f5b97f8d0b..c595280332 100644 --- a/css/light-grey.scss +++ b/css/light-grey.scss @@ -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.