N°5905 - Harmonize how linksets are displayed in edition part I

* Always display a table and its actions to ease link creation
* Display linkset description in an alert block
This commit is contained in:
Molkobain
2023-01-25 10:26:13 +01:00
parent 2f034253e7
commit 1dcf38f2ea
5 changed files with 36 additions and 18 deletions

View File

@@ -121,6 +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);