4
4
* See COPYING.txt for license details.
5
5
*/
6
6
-->
7
- < div class ="block items-in-cart " data-bind ="mageInit: {'collapsible':{'openedState': 'active', 'active': 'true'}} ">
7
+ <!-- ko ifnot: isItemsBlockExpanded() -->
8
+ < div class ="block items-in-cart " data-bind ="mageInit: {'collapsible':{'openedState': 'active'}} ">
8
9
< div class ="title " data-role ="title ">
9
10
< strong role ="heading "> < span data-bind ="text: getItemsQty() "> </ span >
10
11
<!-- ko text: $t('Items in cart') --> <!-- /ko -->
13
14
< div class ="content minicart-items " data-role ="content ">
14
15
< div class ="minicart-items-wrapper overflowed ">
15
16
< ol class ="minicart-items ">
16
- <!-- ko foreach: getItems -->
17
+ <!-- ko foreach: getItems -->
17
18
< li class ="product-item ">
18
19
< div class ="product ">
19
- <!-- ko foreach: $parent.elems() -->
20
+ <!-- ko foreach: $parent.elems() -->
20
21
<!-- ko template: getTemplate() --> <!-- /ko -->
21
- <!-- /ko -->
22
+ <!-- /ko -->
22
23
</ div >
23
24
</ li >
24
- <!-- /ko -->
25
+ <!-- /ko -->
25
26
</ ol >
26
27
</ div >
27
28
</ div >
28
29
</ div >
30
+ <!-- /ko -->
31
+ <!-- ko if: isItemsBlockExpanded() -->
32
+ < div class ="block items-in-cart " data-bind ="mageInit: {'collapsible':{'openedState': 'active', 'active': true}} ">
33
+ < div class ="title " data-role ="title ">
34
+ < strong role ="heading "> < span data-bind ="text: getItemsQty() "> </ span >
35
+ <!-- ko text: $t('Items in cart') --> <!-- /ko -->
36
+ </ strong >
37
+ </ div >
38
+ < div class ="content minicart-items " data-role ="content ">
39
+ < div class ="minicart-items-wrapper overflowed ">
40
+ < ol class ="minicart-items ">
41
+ <!-- ko foreach: getItems -->
42
+ < li class ="product-item ">
43
+ < div class ="product ">
44
+ <!-- ko foreach: $parent.elems() -->
45
+ <!-- ko template: getTemplate() --> <!-- /ko -->
46
+ <!-- /ko -->
47
+ </ div >
48
+ </ li >
49
+ <!-- /ko -->
50
+ </ ol >
51
+ </ div >
52
+ </ div >
53
+ </ div >
54
+ <!-- /ko -->
0 commit comments