forked from brooksbingham/theme-elegance
refactor: show account-links in the footer
parent
e59b67fc1b
commit
245e0c93dd
|
@ -23,23 +23,20 @@
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
<div id="block_myaccount_infos" class="col-md-3 links wrapper">
|
<div id="block_myaccount_infos" class="flex flex-col gap-4">
|
||||||
<p class="font-bold">
|
<div class="title clearfix" data-target="#footer_account_list" data-toggle="collapse">
|
||||||
<a class="text-uppercase" href="{$urls.pages.my_account}" rel="nofollow">
|
<span class="font-bold">{l s='Your account' d='Shop.Theme.Customeraccount'}</span>
|
||||||
{l s='Your account' d='Shop.Theme.Customeraccount'}
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
<div class="title clearfix hidden-md-up" data-target="#footer_account_list" data-toggle="collapse">
|
|
||||||
<span class="text-base">{l s='Your account' d='Shop.Theme.Customeraccount'}</span>
|
|
||||||
</div>
|
</div>
|
||||||
<ul class="account-list collapse" id="footer_account_list">
|
<ul class="account-list" id="footer_account_list">
|
||||||
{foreach from=$my_account_urls item=my_account_url}
|
{foreach from=$my_account_urls item=my_account_url}
|
||||||
<li>
|
<li class="flex">
|
||||||
<a href="{$my_account_url.url}" title="{$my_account_url.title}" rel="nofollow">
|
<a href="{$my_account_url.url}" class="text-sm font-normal leading-6" title="{$my_account_url.title}" rel="nofollow">
|
||||||
{$my_account_url.title}
|
{$my_account_url["title"]}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{hook h='displayMyAccountBlock'}
|
<a href="{$logout_url}" class="text-sm font-normal leading-6" title="logout" rel="nofollow">
|
||||||
|
Sign out
|
||||||
|
</a>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue