File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
app/code/Magento/Customer/view/frontend
templates/account/dashboard Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 14
14
</action >
15
15
</referenceBlock >
16
16
<referenceContainer name =" content" >
17
- <block class =" Magento\Customer\Block\Account\Dashboard\Info" name =" customer_account_dashboard_info" as =" info" template =" Magento_Customer::account/dashboard/info.phtml" cacheable =" false" />
17
+ <block class =" Magento\Customer\Block\Account\Dashboard\Info" name =" customer_account_dashboard_info" as =" info" template =" Magento_Customer::account/dashboard/info.phtml" cacheable =" false" >
18
+ <container name =" customer.account.dashboard.info.blocks" as =" additional_blocks" />
19
+ </block >
18
20
<block class =" Magento\Customer\Block\Account\Dashboard\Address" name =" customer_account_dashboard_address" as =" address" template =" Magento_Customer::account/dashboard/address.phtml" cacheable =" false" />
19
21
</referenceContainer >
20
22
</body >
Original file line number Diff line number Diff line change 29
29
</a>
30
30
</div>
31
31
</div>
32
- <?php if ($ block ->isNewsletterEnabled ()) : ?>
32
+ <?php if ($ block ->isNewsletterEnabled ()): ?>
33
33
<div class="box box-newsletter">
34
34
<strong class="box-title">
35
35
<span><?= $ block ->escapeHtml (__ ('Newsletters ' )) ?> </span>
36
36
</strong>
37
37
<div class="box-content">
38
38
<p>
39
- <?php if ($ block ->getIsSubscribed ()) : ?>
39
+ <?php if ($ block ->getIsSubscribed ()): ?>
40
40
<?= $ block ->escapeHtml (__ ('You are subscribed to "General Subscription". ' )) ?>
41
- <?php else : ?>
41
+ <?php else : ?>
42
42
<?= $ block ->escapeHtml (__ ('You aren \'t subscribed to our newsletter. ' )) ?>
43
43
<?php endif ; ?>
44
44
</p>
45
45
</div>
46
46
<div class="box-actions">
47
- <a class="action edit" href="<?= $ block ->escapeUrl ($ block ->getUrl ('newsletter/manage ' )) ?> "><span><?= $ block ->escapeHtml (__ ('Edit ' )) ?> </span></a>
47
+ <a class="action edit" href="<?= $ block ->escapeUrl ($ block ->getUrl ('newsletter/manage ' )) ?> ">
48
+ <span><?= $ block ->escapeHtml (__ ('Edit ' )) ?> </span></a>
48
49
</div>
49
50
</div>
50
51
<?php endif ; ?>
52
+ <?= $ block ->getChildHtml ('additional_blocks ' ); ?>
51
53
</div>
52
54
</div>
You can’t perform that action at this time.
0 commit comments