[*] MO: Referral program: display currency in account page next to the voucher value

This commit is contained in:
romainberger
2013-06-14 11:04:20 +02:00
parent 331dcc4d6e
commit c94dbb36ce
2 changed files with 17 additions and 16 deletions
@@ -83,7 +83,7 @@
<div id="idTab1">
<p class="bold">
<strong>{l s='Get a discount of %d for you and your friends by recommending this Website.' sprintf=$discount mod='referralprogram'}</strong>
<strong>{l s='Get a discount of %1$d %2$s for you and your friends by recommending this Website.' sprintf=[$discount,$currencySign] mod='referralprogram'}</strong>
</p>
{if $canSendInvitations}
<p>
@@ -93,7 +93,7 @@
{else}
{l s='When one of them makes at least %d order' sprintf=$orderQuantity mod='referralprogram'}
{/if},
{l s='he or she will receive a %1$d voucher and you will receive your own voucher worth %2$d.' sprintf=[$discount,$discount] mod='referralprogram'}
{l s='he or she will receive a %1$d %2$s voucher and you will receive your own voucher worth %3$d %4$s.' sprintf=[$discount,$currencySign,$discount,$currencySign] mod='referralprogram'}
</p>
<form method="post" action="{$link->getModuleLink('referralprogram', 'program', [], true)|escape:'html'}" class="std">
<table class="std">
@@ -125,7 +125,7 @@
<a href="{$link->getModuleLink('referralprogram', 'rules', ['height' => '500', 'width' => '400'], true)|escape:'html'}" class="thickbox" title="{l s='Conditions of the referral program' mod='referralprogram'}" rel="nofollow">{l s='Read conditions.' mod='referralprogram'}</a>
</p>
<p class="see_email">
{l s='Preview' mod='referralprogram'}
{l s='Preview' mod='referralprogram'}
{assign var="file" value="{$lang_iso}/referralprogram-invitation.html"}
<a href="{$link->getModuleLink('referralprogram', 'email', ['height' => '500', 'width' => '600', 'mail' => {$file}], true)|escape:'html'}" class="thickbox" title="{l s='Invitation e-mail' mod='referralprogram'}" rel="nofollow">{l s='the default e-mail' mod='referralprogram'}</a> {l s='that will be sent to your friend(s).' mod='referralprogram'}
</p>