forked from brooksbingham/theme-elegance
66 lines
3.0 KiB
Smarty
66 lines
3.0 KiB
Smarty
{**
|
|
* 2007-2019 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.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to https://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2019 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
|
|
*}
|
|
|
|
{*Mobile View*}
|
|
<div id="block_myaccount_infos" class=" md:hidden th-accordion">
|
|
<div class="flex flex-col gap-4 th-accordion-item">
|
|
<div class="title clearfix th-accordion-item-trigger flex items-center gap-2" data-target="#footer_account_list" data-toggle="collapse">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon th-accordion-item-trigger-svg icon-tabler stroke-[3px] icon-tabler-chevron-right" width="20" height="20" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 6l6 6l-6 6" /></svg>
|
|
<span class="font-bold">{l s='Your account' d='Shop.Theme.Customeraccount'}</span>
|
|
</div>
|
|
<ul class="account-list th-accordion-item-content pl-6" id="footer_account_list">
|
|
{foreach from=$my_account_urls item=my_account_url}
|
|
<li class="flex">
|
|
<a href="{$my_account_url.url}" class="text-sm font-normal leading-6" title="{$my_account_url.title}" rel="nofollow">
|
|
{$my_account_url["title"]}
|
|
</a>
|
|
</li>
|
|
{/foreach}
|
|
<a href="{$logout_url}" class="text-sm font-normal leading-6" title="logout" rel="nofollow">
|
|
Sign out
|
|
</a>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{*Desktop View*}
|
|
<div id="block_myaccount_infos" class="flex max-md:hidden flex-col gap-4">
|
|
<div class="title clearfix" data-target="#footer_account_list" data-toggle="collapse">
|
|
<span class="font-bold">{l s='Your account' d='Shop.Theme.Customeraccount'}</span>
|
|
</div>
|
|
<ul class="account-list" id="footer_account_list">
|
|
{foreach from=$my_account_urls item=my_account_url}
|
|
<li class="flex">
|
|
<a href="{$my_account_url.url}" class="text-sm font-normal leading-6" title="{$my_account_url.title}" rel="nofollow">
|
|
{$my_account_url["title"]}
|
|
</a>
|
|
</li>
|
|
{/foreach}
|
|
<a href="{$logout_url}" class="text-sm font-normal leading-6" title="logout" rel="nofollow">
|
|
Sign out
|
|
</a>
|
|
</ul>
|
|
</div>
|