diff --git a/src/patterns/03-layouts/emergency-notification/emergency-notification.twig b/src/patterns/03-layouts/emergency-notification/emergency-notification.twig index 4f2204ce83ccc49ad37595fa67e3ea46d4d8b037..bcf52a95e4ca996804870521cfc82abb3e646f53 100644 --- a/src/patterns/03-layouts/emergency-notification/emergency-notification.twig +++ b/src/patterns/03-layouts/emergency-notification/emergency-notification.twig @@ -1,23 +1,11 @@ -<div class="uw-emergency-notification{% if emergency_notification.display_style == 'priority' %} emergency-notification{% endif %}"> +<div class="uw-emergency-notification emergency-notification"> <div role="complementary" class="uw-emergency-notification__content"> - {% if emergency_notification.display_style == 'priority' %} - {% include '@components/icon/icon.twig' with { - 'name': 'special-alert', - } %} - {% endif %} + {% include '@components/icon/icon.twig' with { + 'name': 'special-alert', + } %} {% if pattern_lab %} <div class="block-uw-cbl-emergency-notification"> {% endif %} - {% if emergency_notification.date %} - <div class="emergency-notification__date"> - {{ emergency_notification.date }} - </div> - {% endif %} - {% if emergency_notification.heading %} - <div class="emergency-notification__heading"> - {{ emergency_notification.heading }} - </div> - {% endif %} <div id="block-emergency-notification" class="block block-uw-custom-blocks block-uw-cbl-emergency-notification"> <div class="emergency-notification__content"> {{ emergency_notification.notification }}