<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
 * @see \Magento\AdminNotification\Block\Window
 * @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
 */
?>
<ul class="message-system-list"
    data-mage-init='{
        "Magento_Ui/js/modal/modal": {
            "autoOpen": true,
            "buttons": false,
            "modalClass": "modal-system-messages",
            "title": "<?= $block->escapeHtmlAttr($block->getHeaderText()) ?>"
        }
    }'>
    <li class="message message-warning warning">
        <?= $block->escapeHtml($block->getNoticeMessageText()) ?><br/>
        <a href="<?= $block->escapeUrl($block->getNoticeMessageUrl()) ?>">
            <?= $block->escapeHtml($block->getReadDetailsText()) ?>
        </a>
    </li>
</ul>
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag('display:none', '.message-system-list'); ?>
