diff --git a/web/themes/new_weather_theme/templates/wfo-info/node--wfo-info.html.twig b/web/themes/new_weather_theme/templates/wfo-info/node--wfo-info.html.twig index 4428df48d..eb4fc96bc 100644 --- a/web/themes/new_weather_theme/templates/wfo-info/node--wfo-info.html.twig +++ b/web/themes/new_weather_theme/templates/wfo-info/node--wfo-info.html.twig @@ -71,6 +71,7 @@ {% set hasSocial = hasFacebook or hasTwitter or hasYoutube %} {% set hasContact = hasSocial or hasAddress or hasPhone or hasEmail %} + {% set hasFirstPane = hasPhone or hasAddress or hasEmail %} {% if hasContact %}

@@ -78,23 +79,25 @@

-
- {% if hasPhone %} - {{ content.field_phone_number_opt }} - {% endif %} - - {% if hasEmail %} - {% if hasPhone %}
{% endif %} - {{ content.field_wfo_email }} - {% if hasPhone %}
{% endif %} - {% endif %} - - {% if hasAddress %} - {% if hasPhone or hasEmail %}
{% endif %} - {{ content.field_address }} - {% if hasPhone or hasEmail %}
{% endif %} - {% endif %} -
+ {% if hasFirstPane %} +
+ {% if hasPhone %} + {{ content.field_phone_number_opt }} + {% endif %} + + {% if hasEmail %} + {% if hasPhone %}
{% endif %} + {{ content.field_wfo_email }} + {% if hasPhone %}
{% endif %} + {% endif %} + + {% if hasAddress %} + {% if hasPhone or hasEmail %}
{% endif %} + {{ content.field_address }} + {% if hasPhone or hasEmail %}
{% endif %} + {% endif %} +
+ {% endif %}
{% if hasSocial %} @@ -108,4 +111,4 @@
{% endif %}
- \ No newline at end of file +