Merge branch 'ticket-fidelite' into develop
This commit is contained in:
commit
17c8bd6122
@ -3,7 +3,7 @@
|
||||
|
||||
<h1 class="loyalty_title">{l s='My loyalty points' mod='loyalty'}</h1>
|
||||
|
||||
{if $displayorders}
|
||||
{if $nb_orders}
|
||||
<div class="block-center" id="block-history">
|
||||
{if $displayorders && count($displayorders)}
|
||||
<table id="order-list" class="std">
|
||||
@ -45,7 +45,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div id="pagination" class="pagination">
|
||||
{if $nbpagination < $displayorders|@count}
|
||||
{if $nbpagination < $nb_orders}
|
||||
<ul class="pagination">
|
||||
{if $page != 1}
|
||||
{assign var='p_previous' value=$page-1}
|
||||
@ -81,14 +81,14 @@
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
{if $displayorders|@count > 10}
|
||||
{if $nb_orders > 10}
|
||||
<form action="{$pagination_link}" method="get" class="pagination">
|
||||
<p>
|
||||
<input type="submit" class="button_mini" value="{l s='OK'}" />
|
||||
<label for="nb_item">{l s='items:' mod='loyalty'}</label>
|
||||
<select name="n" id="nb_item">
|
||||
{foreach from=$nArray item=nValue}
|
||||
{if $nValue <= $displayorders|@count}
|
||||
{if $nValue <= $nb_orders}
|
||||
<option value="{$nValue|escape:'htmlall':'UTF-8'}" {if $nbpagination == $nValue}selected="selected"{/if}>{$nValue|escape:'htmlall':'UTF-8'}</option>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
Loading…
Reference in New Issue
Block a user