16 data-
mage-init=
'{"toolbarEntry": {}}' 17 class=
"notifications-wrapper admin__action-dropdown-wrap" 18 data-notification-count=
"<?= /* @escapeNotVerified */ $notificationCount ?>">
21 href=
"<?= /* @escapeNotVerified */ $block->getUrl('adminhtml/notification/index') ?>" 22 class=
"notifications-action admin__action-dropdown" 23 data-
mage-init=
'{"dropdown":{}}' 24 title=
"<?= /* @escapeNotVerified */ __('Notifications') ?>" 25 data-toggle=
"dropdown">
26 <span
class=
"notifications-counter">
31 class=
"admin__action-dropdown-menu" 32 data-mark-as-read-url=
"<?= /* @escapeNotVerified */ $block->getUrl('adminhtml/notification/ajaxMarkAsRead') ?>">
33 <?php
foreach (
$block->getLatestUnreadNotifications() as $notification) : ?>
35 <li
class=
"notifications-entry<?php if ($notification->getSeverity() == 1): ?> notifications-critical<?php endif; ?>" 36 data-notification-
id=
"<?= /* @escapeNotVerified */ $notification->getId() ?>" 37 data-notification-severity=
"<?php if ($notification->getSeverity() == 1): ?>1<?php endif; ?>">
42 <strong
class=
"notifications-entry-title">
43 <?=
$block->escapeHtml($notification->getTitle()) ?>
46 <p
class=
"notifications-entry-description _cutted">
47 <span
class=
"notifications-entry-description-start">
50 <span
class=
"notifications-entry-description-end">
55 <p
class=
"notifications-entry-description">
59 <
time class=
"notifications-entry-time">
60 <?=
$block->formatNotificationDate($notification->getDateAdded()) ?>
64 class=
"notifications-close" 65 title=
"<?= /* @escapeNotVerified */ __('Close') ?>" 69 <li
class=
"notifications-entry notifications-entry-last">
71 href=
"<?= /* @escapeNotVerified */ $block->getUrl('adminhtml/notification/index') ?>" 72 class=
"action-tertiary action-more">
79 class=
"notifications-action admin__action-dropdown" 80 href=
"<?= /* @escapeNotVerified */ $block->getUrl('adminhtml/notification/index') ?>" 81 title=
"<?= /* @escapeNotVerified */ __('Notifications') ?>">
if( $form)() ?>< script > require(['jquery' mage mage
if( $notificationCount > 0)( 'adminhtml/notification/index') ?>" classforeach ($block->getLatestUnreadNotifications() as $notification) ( $notification->getSeverity()==1) if ( $notification->getSeverity()==1) $notificationDescription
$notificationDescriptionLength
if(strlen( $notificationDescription) > $notificationDescriptionLength)( $notificationDescription, 0, $notificationDescriptionLength) ?></span >< span class else