init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
|
||||
<head>
|
||||
<css src="Esun_CustomerMessage::css/unread-badges.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<referenceBlock name="customer_account_navigation">
|
||||
<block class="Esun\CustomerMessage\Block\Account\NavigationLink"
|
||||
name="customer-account-navigation-messages"
|
||||
template="Esun_CustomerMessage::account/navigation-link.phtml">
|
||||
<arguments>
|
||||
<argument name="path" xsi:type="string">customer-message/account/index</argument>
|
||||
<argument name="label" xsi:type="string" translate="true">Message</argument>
|
||||
<argument name="sortOrder" xsi:type="number">230</argument>
|
||||
</arguments>
|
||||
</block>
|
||||
</referenceBlock>
|
||||
</body>
|
||||
</page>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0"?>
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"><body><referenceBlock name="esun.customer.dashboard"><block class="Esun\CustomerMessage\Block\Account\Messages" name="esun.customer.dashboard.messages" as="messages" template="Esun_CustomerMessage::account/preview.phtml" cacheable="false"><arguments><argument name="limit" xsi:type="number">3</argument></arguments></block></referenceBlock></body></page>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0"?>
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"><update handle="customer_account"/><head><css src="Esun_CustomerMessage::css/messages.css"/></head><body><referenceBlock name="page.main.title" remove="true"/><referenceContainer name="content"><block class="Esun\CustomerMessage\Block\Account\Messages" name="customer.messages.list" template="Esun_CustomerMessage::account/messages.phtml" cacheable="false"/></referenceContainer></body></page>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
|
||||
<update handle="customer_account"/>
|
||||
<head><css src="Esun_CustomerMessage::css/messages.css"/></head>
|
||||
<body>
|
||||
<referenceBlock name="page.main.title" remove="true"/>
|
||||
<referenceContainer name="content"><block class="Esun\CustomerMessage\Block\Account\Messages" name="customer.order.messages" template="Esun_CustomerMessage::account/messages.phtml" cacheable="false"/></referenceContainer>
|
||||
</body>
|
||||
</page>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
|
||||
<body>
|
||||
<referenceBlock name="esun.sales.order.history">
|
||||
<arguments>
|
||||
<argument name="message_unread_view_model" xsi:type="object">Esun\CustomerMessage\ViewModel\OrderUnread</argument>
|
||||
</arguments>
|
||||
</referenceBlock>
|
||||
</body>
|
||||
</page>
|
||||
Reference in New Issue
Block a user