File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
app/code/Magento/Ui/view/base/web Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ define([
37
37
overlayClass : 'overlay_magento' ,
38
38
responsiveClass : 'dialog-slide' ,
39
39
dialogLeftMargin : 45 ,
40
+ closeText : $ . mage . __ ( 'Close' ) ,
40
41
buttons : [ {
41
42
text : $ . mage . __ ( 'Ok' ) ,
42
43
class : '' ,
Original file line number Diff line number Diff line change 5
5
*/
6
6
-->
7
7
8
- < section
8
+ < aside
9
9
class ="dialog-<%= data.type %> <%= data.dialogClass %>
10
10
<% if(data.responsive){ %><%= data.responsiveClass %><% } %>
11
11
<% if(data.innerScroll){ %><%= data.innerScrollClass %><% } %> "
17
17
data-role ="title "> < %= data.title %> </ h1 >
18
18
< button
19
19
class ="action-close "
20
- data-action ="close-mypopup "
21
20
data-role ="closeBtn "
22
21
type ="button ">
23
- < span > $t('Close') </ span >
22
+ < span > < %= data.closeText % > </ span >
24
23
</ button >
25
24
</ header >
26
25
< div
31
30
< button
32
31
class ="<%= button.class %> "
33
32
type ="button "
34
- data-role ="action "> < %= button.text %> </ button >
33
+ data-role ="action "> < span > < %= button.text %> </ span > </ button >
35
34
< % }); %>
36
35
</ footer >
37
36
</ div >
38
- </ section >
37
+ </ aside >
Original file line number Diff line number Diff line change 5
5
*/
6
6
-->
7
7
8
- < section
8
+ < aside
9
9
class ="dialog-<%= data.type %> <%= data.dialogClass %>
10
- <% if(data.innerScroll){ %><%= data.innerScrollClass %><% } %> "
10
+ <% if(data.innerScroll){ %><%= data.innerScrollClass %><% } %> "
11
11
data-role ="dialog "
12
12
data-type ="<%= data.type %> ">
13
13
< div class ="dialog-inner-wrap ">
16
16
data-role ="title "> < %= data.title %> </ h1 >
17
17
< button
18
18
class ="action-close "
19
- data-action ="close-mypopup "
20
19
data-role ="closeBtn "
21
20
type ="button ">
22
- < span > $t('Close') </ span >
21
+ < span > < %= data.closeText % > </ span >
23
22
</ button >
24
23
< div class ="page-main-actions ">
25
24
< div class ="page-actions ">
28
27
< button
29
28
class ="<%= button.class %> "
30
29
type ="button "
31
- data-role ="action "> < %= button.text %>
30
+ data-role ="action "> < span > < %= button.text %> </ span >
32
31
</ button >
33
32
< % }); %>
34
33
</ div >
37
36
</ header >
38
37
< div class ="dialog-content " data-role ="content "> </ div >
39
38
</ div >
40
- </ section >
39
+ </ aside >
You can’t perform that action at this time.
0 commit comments