Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_gesso
Merge requests
!42
Something went wrong on our end
ISTWCMS-4719: Adding global message to pattern lab.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ISTWCMS-4719: Adding global message to pattern lab.
feature/ISTWCMS-4719-ibiki-global-message
into
8.x-3.x
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Igor Biki
requested to merge
feature/ISTWCMS-4719-ibiki-global-message
into
8.x-3.x
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
06f227cd
Show latest version
2 files
+
6
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
06f227cd
ISTWCMS-4719: Adding global message to pattern lab.
· 06f227cd
Igor Biki
authored
3 years ago
source/_patterns/03-layouts/header/header.twig
+
5
−
7
Options
@@ -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