Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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_ohana
Commits
45500724
Commit
45500724
authored
5 months ago
by
Kevin Paxman
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-7158: additional removal of things not used by emergency notification
parent
0fefef69
No related branches found
No related tags found
1 merge request
!234
ISTWCMS-7158: add emergency notifcation patterns
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/patterns/03-layouts/emergency-notification/emergency-notification.twig
+4
-16
4 additions, 16 deletions
...ayouts/emergency-notification/emergency-notification.twig
with
4 additions
and
16 deletions
src/patterns/03-layouts/emergency-notification/emergency-notification.twig
+
4
−
16
View file @
45500724
<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"
>
<div
role=
"complementary"
class=
"uw-emergency-notification__content"
>
{%
if
emergency_notification.display_style
==
'priority'
%}
{%
include
'@components/icon/icon.twig'
with
{
{%
include
'@components/icon/icon.twig'
with
{
'name'
:
'special-alert'
,
'name'
:
'special-alert'
,
}
%}
}
%}
{%
endif
%}
{%
if
pattern_lab
%}
{%
if
pattern_lab
%}
<div
class=
"block-uw-cbl-emergency-notification"
>
<div
class=
"block-uw-cbl-emergency-notification"
>
{%
endif
%}
{%
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
id=
"block-emergency-notification"
class=
"block block-uw-custom-blocks block-uw-cbl-emergency-notification"
>
<div
class=
"emergency-notification__content"
>
<div
class=
"emergency-notification__content"
>
{{
emergency_notification.notification
}}
{{
emergency_notification.notification
}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment