File tree Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Original file line number Diff line number Diff line change 1
1
{{!
2
- Copyright (c) HashiCorp, Inc.
3
- SPDX-License-Identifier: BUSL-1.1
2
+ Copyright (c) HashiCorp, Inc.
3
+ SPDX-License-Identifier: BUSL-1.1
4
4
}}
5
5
6
6
<PageHeader as |p|>
32
32
<ToolbarActions >
33
33
{{ #if this.model.updatePath.canDelete }}
34
34
{{ #if (gt this.model.allowed_roles.length 0 )}}
35
- <ToolTip @verticalPosition =" above" @horizontalPosition =" center" as |T|>
36
- <T .Trigger @tabindex =" -1" >
37
- <Hds::Button
38
- @text =" Delete transformation"
39
- @color =" secondary"
40
- class =" toolbar-button"
41
- aria-disabled =" true"
42
- disabled
43
- />
44
- </T .Trigger>
45
- <T .Content @defaultClass =" tool-tip" >
46
- <div class =" box" >
47
- This transformation is in use by a role and can’t be deleted.
48
- </div >
49
- </T .Content>
50
- </ToolTip >
35
+ <Hds::TooltipButton @text =" This transformation is in use by a role and can't be deleted." >
36
+ <Hds::Button
37
+ @text =" Delete transformation"
38
+ @color =" secondary"
39
+ class =" toolbar-button"
40
+ aria-disabled =" true"
41
+ disabled
42
+ />
43
+ </Hds::TooltipButton >
51
44
{{ else }}
52
45
<Hds::Button
53
46
@text =" Delete transformation"
109
102
</M .Header>
110
103
<M .Body>
111
104
<p >
112
- You’ re editing a transformation that is in use by at least one role. Editing it may mean that encode and decode
105
+ You' re editing a transformation that is in use by at least one role. Editing it may mean that encode and decode
113
106
operations stop working. Are you sure?
114
107
</p >
115
108
</M .Body>
You can’t perform that action at this time.
0 commit comments