mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
RenderAllUiBlocks : new alert collapsible but not closable
This commit is contained in:
@@ -88,6 +88,9 @@ $oAlertNonClosable = AlertUIBlockFactory::MakeNeutral('Alert not closable, not c
|
||||
->SetIsClosable(false)
|
||||
->SetIsCollapsible(false);
|
||||
$oPageContentLayout->AddMainBlock($oAlertNonClosable);
|
||||
$oAlertCollapsibleNotClosable = AlertUIBlockFactory::MakeNeutral('Alert collapsible but nos closable', $sContent)
|
||||
->SetIsClosable(false);
|
||||
$oPageContentLayout->AddMainBlock($oAlertCollapsibleNotClosable);
|
||||
$oAlertSaveCollapsibleState = AlertUIBlockFactory::MakeNeutral('Alert with collapsible state saving', $sContent)
|
||||
->EnableSaveCollapsibleState('RenderAllUiBlocks-alert');
|
||||
$oPageContentLayout->AddMainBlock($oAlertSaveCollapsibleState);
|
||||
|
||||
Reference in New Issue
Block a user