N°5920 - Add linkset's description as corresponding tab's tooltip in object details

This commit is contained in:
Molkobain
2023-01-25 19:24:50 +01:00
parent 2a825c6ba0
commit e72ed33a40
12 changed files with 108 additions and 29 deletions

View File

@@ -722,8 +722,10 @@ HTML
continue;
}
$sTabCode = 'Class:'.$sClass.'/Attribute:'.$sAttCode;
$sTabDescription = utils::IsNotNullOrEmptyString($oAttDef->GetDescription()) ? $oAttDef->GetDescription() : null;
$sCount = ($iCount != 0) ? " ($iCount)" : "";
$oPage->SetCurrentTab('Class:'.$sClass.'/Attribute:'.$sAttCode, $oAttDef->GetLabel().$sCount);
$oPage->SetCurrentTab($sTabCode, $oAttDef->GetLabel().$sCount, $sTabDescription);
$aArgs = array('this' => $this);
$bReadOnly = ($iFlags & (OPT_ATT_READONLY | OPT_ATT_SLAVE));