12695 - add link "my rewards" in block account

This commit is contained in:
Rodney Figaro 2017-05-18 17:49:30 +02:00
parent 1c95a67334
commit 69616fc8b1
2 changed files with 8 additions and 1 deletions

View File

@ -1,11 +1,17 @@
<!-- Block myaccount module -->
<div id="infos-client" class="myaccount md6">
<div id="infos-client" class="myaccount md9">
<span class="header-title">{l s='My account' mod='blockmyaccount'}</span>
<ul>
<li>
<a href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='My orders' mod='blockmyaccount'}">
{l s='My orders' mod='blockmyaccount'}
</a>
{if Module::isEnabled('allinone_rewards') && isset($link_rewards)}
/
<a href="{$link_rewards}" title="{l s='My rewards' mod='blockmyaccount'}">
{l s='My rewards' mod='blockmyaccount'}
</a>
{/if}
</li>
<li>
<a href="{$link->getPageLink('index', true, NULL, 'mylogout')|escape:'html'}" title="{l s='Logout'}">

View File

@ -12,4 +12,5 @@ $_MODULE['<{blockmyaccount}roykin>blockmyaccount_e45be0a0d4a0b62b15694c1a631e6e6
$_MODULE['<{blockmyaccount}roykin>blockmyaccount_63b1ba91576576e6cf2da6fab7617e58'] = 'Mes informations personnelles';
$_MODULE['<{blockmyaccount}roykin>blockmyaccount_95d2137c196c7f84df5753ed78f18332'] = 'Mes bons de réduction';
$_MODULE['<{blockmyaccount}roykin>blockmyaccount_c87aacf5673fada1108c9f809d354311'] = 'Déconnexion';
$_MODULE['<{blockmyaccount}roykin>blockmyaccount_d4b3395068f635c29e7c83fcb75001b8'] = 'Mes avoirs';
$_MODULE['<{blockmyaccount}roykin>blockmyaccount_0323de4f66a1700e2173e9bcdce02715'] = 'Deconnexion';