Display referralprogram menu in customer account

This commit is contained in:
Michael RICOIS 2017-08-30 11:56:10 +02:00
parent 10f8211888
commit 08602cbbed

View File

@ -1,10 +1,5 @@
<div class="col-md-3 menu-account upper">
<ul>
<!--<li>
<a class="link left {if isset($active) && $active == 'referral'}active{/if}" href="{$link->getModuleLink('referralprogram', 'program', [], true)|escape:'html'}" title="{l s='Referral program' mod='referralprogram'}" rel="nofollow">
<i class="awesome"></i>{l s='Referral program'}
</a>
</li>-->
<ul>
<li>
<a class="link left {if isset($active) && $active == 'history'}active{/if}" href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Orders'}">
<i class="awesome"></i>{l s='Order history and details'}
@ -25,10 +20,17 @@
<i class="awesome"></i>{l s='Order slips'}
</a>
</li>
{if Module::isEnabled('referralprogram')}
<li>
<a class="link left {if isset($active) && $active == 'referral'}active{/if}" href="{$link->getModuleLink('referralprogram', 'program', [], true)|escape:'html'}" title="{l s='Referral program' mod='referralprogram'}" rel="nofollow">
<i class="awesome"></i>{l s='Referral program'}
</a>
</li>
{/if}
<li>
<a class="link left" href="{$link->getPageLink('index', true, NULL, 'mylogout')|escape:'html'}" title="{l s='Logout'}">
<i class="awesome"></i>{l s='Logout'}
</a>
</li>
</li>
</ul>
</div>