Display referralprogram menu in customer account
This commit is contained in:
parent
10f8211888
commit
08602cbbed
@ -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>
|
Loading…
Reference in New Issue
Block a user