• {% set hideClass = updateMessage.isNew or showNewIndicator ? '' : ' hide' %}
    {{ 'mautic.core.notifications'|trans }} {% if notifications is not empty %} {% include '@MauticCore/Helper/button.html.twig' with { buttons: [ { label: 'mautic.core.notifications.clearall', variant: 'ghost', size: 'xs', icon_only: true, icon: 'ri-delete-bin-2-line', attributes: { 'class': 'pull-right', }, onclick: 'Mautic.clearNotification(0);' } ] } %} {% endif %}
    {{ include('@MauticCore/Notification/notification_messages.html.twig', { notifications: notifications, updateMessage: updateMessage }) }} {% set class = notifications is not empty ? ' hide' : '' %}
    🦄
    {{'mautic.core.notifications.empty'|trans}}
    {{'mautic.core.notifications.empty_extra'|trans}}
    {% set lastNotification = notifications|first %}