N°3909 Fix notification configuration help layout

This commit is contained in:
Pierre Goiffon
2021-08-04 12:00:48 +02:00
parent e325d535ae
commit 29cf20beaf

View File

@@ -19,7 +19,7 @@
use Combodo\iTop\Application\UI\Base\Component\CollapsibleSection\CollapsibleSection;
use Combodo\iTop\Application\UI\Base\Component\Html\Html;
use Combodo\iTop\Application\UI\Base\Component\Html\HtmlFactory;
use Combodo\iTop\Application\UI\Base\Layout\PageContent\PageContentFactory;
require_once('../approot.inc.php');
@@ -41,7 +41,7 @@ $oP->SetContentLayout($oPageContentLayout);
$sAlertTitle = Dict::S('UI:NotificationsMenu:Title');
$sAlertContent = Dict::S('UI:NotificationsMenu:HelpContent');
$oConfigurationHelp = new CollapsibleSection($sAlertTitle, [new Html($sAlertContent)]);
$oConfigurationHelp = new CollapsibleSection($sAlertTitle, [HtmlFactory::MakeHtmlContent($sAlertContent)]);
$oConfigurationHelp
->SetOpenedByDefault(true)
->EnableSaveCollapsibleState('notifications__home');