Skip to content
Snippets Groups Projects

ISTWCMS-4719: Adding global message to pattern lab.

Merged Igor Biki requested to merge feature/ISTWCMS-4719-ibiki-global-message into 8.x-3.x
2 files
+ 6
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -23,7 +23,6 @@
}
]) %}
{% set headerbar_form_items = [] %}
{% set headerbar_form_items = headerbar_form_items|merge([
{
@@ -59,15 +58,16 @@
}
]) %}
{% if is_demo_header %}
{% set faculty = faculty ? faculty : 'org-art' %}
{% endif %}
<header class="uw-header {{ faculty }}" role="banner">
{% if global_message %}
<div id="global-message">
{{ global_message|render }}
</div>
{% endif %}
<div class="uw-header__masthead">
{% include '@components/site-logo/site-logo.twig' %}
@@ -87,7 +87,6 @@
'form_items':form_items
}%}
{% include "@components/search/search--wcms-headerbar/search--wcms-headerbar.twig" with {
'form_action': 'https://uwaterloo.ca/search',
'form_autocomplete': 'off',
@@ -133,4 +132,3 @@
</div>
</nav>
</header>
Loading