You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
-
- /** @var $block \Magento\AdminNotification\Block\System\Messages */
- ?>
-
- <?php $lastCritical = $block->getLastCritical();?>
- <div id="system_messages"
- class="message-system<?php if ($lastCritical) : ?>
- message-system-unread<?php endif; ?>">
- <div class="message-system-inner">
- <?php if ($lastCritical) : ?>
- <ul class="message-system-list">
- <li class="message message-warning error">
- <?= $block->escapeHtml($lastCritical->getText()) ?>
- </li>
- </ul>
- <?php endif; ?>
- <div class="message-system-short">
- <span class="message-system-short-label">
- <?= $block->escapeHtml(__('System Messages:')) ?>
- </span>
-
- <?php if ($block->getCriticalCount()) : ?>
- <div class="message message-warning error">
- <a class="message-link" href="#" title="<?= $block->escapeHtml(__('Critical System Messages')) ?>">
- <?= (int) $block->getCriticalCount() ?>
- </a>
- </div>
- <?php endif; ?>
-
- <?php if ($block->getMajorCount()) : ?>
- <div class="message message-warning warning">
- <a class="message-link" href="#" title="<?= $block->escapeHtml(__('Major System Messages')) ?>">
- <?= (int) $block->getMajorCount() ?>
- </a>
- </div>
- <?php endif; ?>
- </div>
- <div id="message-system-all" title="<?= $block->escapeHtml(__('System messages')) ?>" data-mage-init='<?= $block->escapeHtml($block->getSystemMessageDialogJson()) ?>'></div>
- </div>
- </div>
|