File tree 1 file changed +11
-14
lines changed
packages/components/addon/components/hds/alert
1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change 13
13
14
14
<div class =" hds-alert__content" >
15
15
<div class =" hds-alert__text" >
16
-
17
16
{{ #if @title }}
18
17
<div class =" hds-alert__title" >{{ @title }} </div >
19
18
{{ /if }}
20
-
21
19
{{ #if @description }}
22
20
<div class =" hds-alert__description" >{{ html-safe @description }} </div >
23
21
{{ /if }}
24
-
25
- {{ #if (has-block " actions" )}}
26
- {{! IMPORTANT: don't change the formatting or it will add empty space inside the element (we're using ":empty" in CSS to hide it when it's empty!) }}
27
- <div class =" hds-alert__actions" >{{ yield
28
- (hash
29
- Button = (component " hds/button" )
30
- Link ::Standalone = (component " hds/link/standalone" )
31
- LinkTo ::Standalone = (component " hds/link-to/standalone" )
32
- )
33
- to =" actions"
34
- }} </div >
35
- {{ /if }}
36
22
</div >
37
23
24
+ {{ #if (has-block " actions" )}}
25
+ {{! IMPORTANT: don't change the formatting or it will add empty space inside the element (we're using ":empty" in CSS to hide it when it's empty!) }}
26
+ <div class =" hds-alert__actions" >{{ yield
27
+ (hash
28
+ Button = (component " hds/button" )
29
+ Link ::Standalone = (component " hds/link/standalone" )
30
+ LinkTo ::Standalone = (component " hds/link-to/standalone" )
31
+ )
32
+ to =" actions"
33
+ }} </div >
34
+ {{ /if }}
38
35
</div >
39
36
</div >
You can’t perform that action at this time.
0 commit comments