mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
N°6153 - Add complementary attributes on linkset set tooltip
This commit is contained in:
@@ -131,9 +131,12 @@ class BlockLinkSetDisplayAsProperty extends UIContentBlock
|
||||
|
||||
// Friendly name
|
||||
$sFriendlyNameForHtml = utils::HtmlEntities($aItem['friendlyname']);
|
||||
|
||||
// Full description
|
||||
$sFullDescriptionForHtml = utils::HtmlEntities($aItem['full_description']);
|
||||
|
||||
// Append value
|
||||
$sHtml .= '<a'.$this->GenerateLinkUrl($aItem['key']).' class="attribute-set-item" data-label="'.$sFriendlyNameForHtml.'" data-tooltip-content="'.$sFriendlyNameForHtml.'">'.$sTemplate.'</a>';
|
||||
$sHtml .= '<a'.$this->GenerateLinkUrl($aItem['key']).' class="attribute-set-item" data-label="'.$sFriendlyNameForHtml.'" data-tooltip-content="'.$sFullDescriptionForHtml.'" data-tooltip-html-enabled="true">'.$sTemplate.'</a>';
|
||||
}
|
||||
|
||||
// Close container
|
||||
|
||||
Reference in New Issue
Block a user