use the same layout for each product in "todays products" in Export part v4 as Export part light

This commit is contained in:
Rodney Figaro 2017-01-03 16:55:57 +01:00
parent 1369c8b1ff
commit a0008aa8ea

View File

@ -13,20 +13,20 @@
<table style="{$subContainer} padding:0 0 0 0; background-color: #f3f5f5; height:195px" border="0" cellspacing="0" cellpadding="0" width="100%" > <table style="{$subContainer} padding:0 0 0 0; background-color: #f3f5f5; height:195px" border="0" cellspacing="0" cellpadding="0" width="100%" >
<tbody> <tbody>
{if $endSale == 'true'} {if $endSale == 'true'}
<tr style="height: 24px;"> <tr style="text-align:center">
<td style="vertical-align: top;"> <td>
<img style="border: none;" src="{$urlImgPath}bandeau_end.png" alt="{$sale.title|escape:'html':'UTF-8'}" width="100%" /> <img style="border: none;" src="{$urlImgPath}bandeau_end.png" alt="{$sale.title|escape:'html':'UTF-8'}" width="100%" />
</td> </td>
</tr> </tr>
{/if} {/if}
<tr style="text-align:center; display: block;"> <tr style="text-align:center">
<td style="display: block;"> <td>
<p style="margin: 0 0 0; text-align:center; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 29px; max-height: 30px"><span style="font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #696969; text-transform: uppercase; font-size:20px;">{$sale.title|escape:'html':'UTF-8'}</span></p> <p style="margin: 0 0 0; line-height: 2em; text-align:center"><span style="font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #696969; text-transform: uppercase; font-size:20px;">{$sale.title|escape:'html':'UTF-8'}</span></p>
</td> </td>
</tr> </tr>
<tr {if $endSale == 'true'}style="display: block;"{else}style="height:80px; display: block"{/if}> <tr {if $endSale == 'true'}{else}style="height:80px"{/if}>
<td style="vertical-align: top; padding: 5px 5px 0 5px; display: block"> <td style="vertical-align: top; padding: 5px 5px 0 5px;">
<p style="margin: 0 0 0; line-height: 2em; text-align:center; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 15px; max-height: 50px"><span style="font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #696969;"><span style="font-size:15px;">{$sale.subtitle|escape:'html':'UTF-8'}</span></span><br style="line-height: 15.6000003814697px;" />{if $version!=1}{if $sale.percent}<span style="font-size:13px;font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #F35243;">{$sale.percent}%</span>{/if}{else}<span style="font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #696969;">{$sale.description|escape:'html':'UTF-8'}</span>{/if}</p> <p style="margin: 0 0 0; line-height: 2em; text-align:center"><span style="font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #696969;"><span style="font-size:15px;">{$sale.subtitle|escape:'html':'UTF-8'}</span></span><br style="line-height: 15.6000003814697px;" />{if $version!=1}{if $sale.percent}<span style="font-size:13px;font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #F35243;">{$sale.percent}%</span>{/if}{else}<span style="font-family: 'lucida sans unicode', 'lucida grande', sans-serif; color: #696969;">{$sale.description|escape:'html':'UTF-8'}</span>{/if}</p>
</td> </td>
</tr> </tr>
<tr> <tr>