first commit
This commit is contained in:
45
modules/blockwishlist/views/templates/pages/lists.tpl
Normal file
45
modules/blockwishlist/views/templates/pages/lists.tpl
Normal file
@@ -0,0 +1,45 @@
|
||||
{**
|
||||
* 2007-2020 PrestaShop and Contributors
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2020 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file='customer/page.tpl'}
|
||||
|
||||
{block name='page_header_container'}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<div
|
||||
class="wishlist-container"
|
||||
data-url="{$url}"
|
||||
data-title="{$wishlistsTitlePage}"
|
||||
data-empty-text="{l s='No wishlist found.' d='Modules.Blockwishlist.Shop'}"
|
||||
data-rename-text="{l s='Rename' d='Modules.Blockwishlist.Shop'}"
|
||||
data-share-text="{l s='Share' d='Modules.Blockwishlist.Shop'}"
|
||||
data-add-text="{$newWishlistCTA}"
|
||||
></div>
|
||||
|
||||
{include file="module:blockwishlist/views/templates/components/modals/share.tpl" url=$shareUrl}
|
||||
{include file="module:blockwishlist/views/templates/components/modals/rename.tpl" url=$renameUrl}
|
||||
{/block}
|
||||
|
||||
|
||||
{block name='page_footer_container'}
|
||||
<div class="wishlist-footer-links">
|
||||
<a href="{$link->getPageLink('my-account', true)|escape:'html'}" class="text-primary"><i class="material-icons">chevron_left</i>{l s='Return to your account' d='Modules.Blockwishlist.Shop'}</a>
|
||||
<a href="{$urls.base_url}" class="text-primary"><i class="material-icons">home</i>{l s='Home' d='Shop.Theme.Global'}</a>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,49 @@
|
||||
{**
|
||||
* 2007-2020 PrestaShop and Contributors
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2020 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_header_container'}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<div
|
||||
class="wishlist-products-container"
|
||||
data-url="{$url}"
|
||||
data-list-id="{$id}"
|
||||
data-default-sort="{l s='Last added' d='Modules.Blockwishlist.Shop'}"
|
||||
data-add-to-cart="{l s='Add to cart' d='Shop.Theme.Actions'}"
|
||||
data-share="{if $isGuest}true{else}false{/if}"
|
||||
data-customize-text="{l s='Customize' d='Modules.Blockwishlist.Shop'}"
|
||||
data-quantity-text="{l s='Quantity' d='Shop.Theme.Catalog'}"
|
||||
data-title="{$wishlistName}"
|
||||
data-no-products-message="{l s='No products found' d='Modules.Blockwishlist.Shop'}"
|
||||
data-filter="{l s='Sort by:' d='Shop.Theme.Global'}"
|
||||
>
|
||||
</div>
|
||||
|
||||
{include file="module:blockwishlist/views/templates/components/pagination.tpl"}
|
||||
{/block}
|
||||
|
||||
|
||||
{block name='page_footer_container'}
|
||||
<div class="wishlist-footer-links">
|
||||
<a href="{$wishlistsLink}"><i class="material-icons">chevron_left</i>{l s='Return to wishlists' d='Modules.Blockwishlist.Shop'}</a>
|
||||
<a href="{$urls.base_url}"><i class="material-icons">home</i>{l s='Home' d='Shop.Theme.Global'}</a>
|
||||
</div>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user