2017-08-30 10:41:20 +02:00

62 lines
2.5 KiB
Smarty

{assign var=returnAllowed value=false}
{if Configuration::get('PS_ORDER_RETURN')}
{assign var=returnAllowed value=true}
{/if}
<div class="md3 menu-account block">
<div>
<span class="title">
<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" class="{if isset($active) && $active == 'my-account'}active{/if}">
<i class="icon icon-account"></i>
{l s="Mon tableau de bord"}
</a>
</span>
<ul class="animated-full">
<li>
<a class="icon-left {if isset($active) && $active == 'history'}active{/if}" href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Order history and details'}">
<i class="icon icon-cart"></i>
<span>{l s='Order history and details'}</span>
</a>
</li>
<li>
<a class="icon-left {if isset($active) && $active == 'addresses'}active{/if}" href="{$link->getPageLink('addresses', true)|escape:'html':'UTF-8'}" title="{l s='My addresses'}">
<i class="icon icon-bord-table"></i>
<span>{l s='My addresses'}</span>
</a>
</li>
<li>
<a class="icon-left {if isset($active) && $active == 'identity'}active{/if}" href="{$link->getPageLink('identity', true)|escape:'html':'UTF-8'}" title="{l s='My personal information'}">
<i class="icon icon-bord-table2"></i>
<span>{l s='My personal information'}</span>
</a>
</li>
{if $returnAllowed}
<li>
<a class="icon-left {if isset($active) && $active == 'order-follow'}active{/if}" href="{$link->getPageLink('order-follow', true)|escape:'html':'UTF-8'}" title="{l s='Your product returns'}">
<i class="icon icon-slip"></i>
<span>{l s='Your product returns'}</span>
</a>
</li>
{/if}
<li>
<a class="icon-left {if isset($active) && $active == 'order-slip'}active{/if}" href="{$link->getPageLink('order-slip', true)|escape:'html':'UTF-8'}" title="{l s='Your order slips'}">
<i class="icon icon-slip"></i>
<span>{l s='Your order slips'}</span>
</a>
</li>
<li>
<a class="icon-left {if isset($active) && $active == 'discount'}active{/if}" href="{$link->getPageLink('discount', true)|escape:'html':'UTF-8'}" title="{l s='Your vouchers'}">
<i class="icon icon-reduc"></i>
<span>{l s='Your vouchers'}</span>
</a>
</li>
<li class="logout">
<a class="icon-left" href="{$link->getPageLink('index', true, NULL, 'mylogout')|escape:'html'}" title="{l s='Logout'}">
<i class="icon icon-cross"></i>
<span>{l s='Logout'}</span>
</a>
</li>
</ul>
</div>
</div>