// improve ranges

This commit is contained in:
Rémi Gaillard
2013-07-26 14:57:31 +02:00
parent f361b2fcbe
commit 1c28cdd8e7
4 changed files with 22 additions and 2 deletions
@@ -23,6 +23,10 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="helpers/form/form.tpl"}
{block name="script"}
var string_price = '{l s="Will be applied when the price will be:" js=1}';
var string_weight = '{l s="Will be applied when the weight will be:" js=1}';
{/block}
{block name="field"}
{if $input.name == 'zones'}
@@ -1,7 +1,7 @@
<div style="float:left" id="zone_ranges">
<table cellpadding="5" cellspacing="0" id="zones_table">
<tr class="range_inf">
<td> Limites par tranche :</td>
<td class="range_type"></td>
<td class="border_left border_bottom">>=</td>
{foreach from=$ranges key=r item=range}
<td class="border_bottom center"><input name="range_inf[]" type="text" value="{$range.delimiter1|string_format:"%.6f"}" /></td>
@@ -10,7 +10,7 @@
{/foreach}
</tr>
<tr class="range_sup">
<td class="center">de poids</td>
<td class="center range_type"></td>
<td class="border_left "><</td>
{foreach from=$ranges key=r item=range}
<td class="center"><input name="range_sup[]" type="text" value="{$range.delimiter2|string_format:"%.6f"}" /></td>