From 455007248b788d1d7ec209938d227196431526a6 Mon Sep 17 00:00:00 2001
From: Kevin Paxman <kpaxman@uwaterloo.ca>
Date: Fri, 18 Oct 2024 10:20:09 -0400
Subject: [PATCH] ISTWCMS-7158: additional removal of things not used by
 emergency notification

---
 .../emergency-notification.twig               | 20 ++++---------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/src/patterns/03-layouts/emergency-notification/emergency-notification.twig b/src/patterns/03-layouts/emergency-notification/emergency-notification.twig
index 4f2204ce..bcf52a95 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 }}
-- 
GitLab