N°5905 - Move tab description to a tooltip on the panel's title instead of a big blue alert

This commit is contained in:
Molkobain
2023-01-27 17:24:50 +01:00
parent 0374e303e4
commit af2421a2cb
6 changed files with 31 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ abstract class AbstractBlockLinksViewTable extends UIContentBlock
}
/**
* InitHeader.
* InitHeader by adding UIBlocks to the current self
*
* @return void
* @throws CoreException
@@ -121,12 +121,7 @@ abstract class AbstractBlockLinksViewTable extends UIContentBlock
*/
private function InitHeader()
{
// Linkset description as an informative alert
$sDescription = $this->oAttDef->GetDescription();
if (utils::IsNotNullOrEmptyString($sDescription)) {
$oAlert = AlertUIBlockFactory::MakeForInformation('', $sDescription);
$this->AddSubBlock($oAlert);
}
}
/**