Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
embl.org
vf-core-mirror
Commits
a5e1c2c2
Unverified
Commit
a5e1c2c2
authored
Jan 28, 2022
by
Nitin Jadhav
Committed by
GitHub
Jan 28, 2022
Browse files
added a region for embl-notifications banners (#1752)
parent
14dc35bb
Pipeline
#237027
passed with stages
in 11 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
components/embl-notifications/embl-notifications.js
components/embl-notifications/embl-notifications.js
+1
-1
No files found.
components/embl-notifications/embl-notifications.js
View file @
a5e1c2c2
...
...
@@ -53,7 +53,7 @@ function emblNotificationsInject(message) {
// we use vf-u-margin__top--400 as this element is usually inserted inside a contentHub wrapper and not affected by body.vf-stack
// if vf-stack is set, this will have no practical affect
output
.
innerHTML
=
`
<div class="vf-banner vf-banner--alert vf-banner--info | vf-content">
<div class="vf-banner vf-banner--alert vf-banner--info | vf-content"
data-vf-google-analytics-region="notifications-banner"
>
<div class="vf-banner__content">
<p class="vf-banner__text">
${
message
.
body
}
</p>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment