use the same layout for each product in "todays products" in Export part v4 as Export part light
This commit is contained in:
parent
1369c8b1ff
commit
a0008aa8ea
@ -1,46 +1,46 @@
|
||||
|
||||
{foreach $saleList as $sale}
|
||||
<table style="{$subContainer} {if $version!=1}padding: 5px 10px{else}padding: 5px 0px{/if}; " border="0" cellspacing="0" cellpadding="0" class="sale col-xs-12 col-md-6">
|
||||
<tbody>
|
||||
<tr>
|
||||
{* <td><a style="border: none;" title="{$sale.title|escape:'html':'UTF-8'}" href="{$sale.link|escape:'html':'UTF-8'}{$tracking}"><img style="border: none;" src="{$sale.image|escape:'html':'UTF-8'}" alt="{$sale.title|escape:'html':'UTF-8'}" width="568" height="189" /></a></td> *}
|
||||
{if $params['display_token'] == 1}
|
||||
<td style="width:60%;"><a style="border: none;" title="{$sale.title|escape:'html':'UTF-8'}" {if $params['sale_link'] == 1}href="[[data:token]]&back={$sale.link}"{else}href="[[data:token]]&back={$urlPathEncode}"{/if}><img style="margin-bottom: -3px; border: none;" src="{$sale.image|escape:'html':'UTF-8'}" alt="{$sale.title|escape:'html':'UTF-8'}" width="348px" height="195px" /></a></td>
|
||||
{else}
|
||||
<td style="width:60%;"><a style="border: none;" title="{$sale.title|escape:'html':'UTF-8'}" href="http://www.privilegedemarque.com/{$tracking}"><img style="margin-bottom: -3px; border: none;" src="{$sale.image|escape:'html':'UTF-8'}" alt="{$sale.title|escape:'html':'UTF-8'}" width="348px" height="195px" /></a></td>
|
||||
{/if}
|
||||
<td style="background-color:#f3f5f5;">
|
||||
<table style="{$subContainer} padding:0 0 0 0; background-color: #f3f5f5; height:195px" border="0" cellspacing="0" cellpadding="0" width="100%" >
|
||||
<tbody>
|
||||
{if $endSale == 'true'}
|
||||
<tr style="height: 24px;">
|
||||
<td style="vertical-align: top;">
|
||||
<img style="border: none;" src="{$urlImgPath}bandeau_end.png" alt="{$sale.title|escape:'html':'UTF-8'}" width="100%" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr style="text-align:center; display: block;">
|
||||
<td style="display: block;">
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
<tr {if $endSale == 'true'}style="display: block;"{else}style="height:80px; display: block"{/if}>
|
||||
<td style="vertical-align: top; padding: 5px 5px 0 5px; display: block">
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{if $params['display_token'] == 1}
|
||||
<td style="vertical-align: top; padding: 0; text-align: center;" width="135"><a style="display: inline-block; border: none; padding:10px 7px; font-family: Arial, sans-serif; font-size:15px; text-decoration:none; color:#fff; background-color: #F05249;" title="{$sale.title|escape:'html':'UTF-8'}"{if $params['sale_link'] == 1}href="[[data:token]]&back={$sale.link}"{else}href="[[data:token]]&back={$urlPathEncode}"{/if}>J'EN PROFITE !</a></td>
|
||||
{else}
|
||||
<td style="vertical-align: top; padding: 0; text-align: center;" width="135"><a style="display: inline-block; border: none; padding:10px 7px; font-family: Arial, sans-serif; font-size:15px; text-decoration:none; color:#fff; background-color: #F05249;" title="{$sale.title|escape:'html':'UTF-8'}" href="http://www.privilegedemarque.com/{$tracking}">J'EN PROFITE !</a></td>
|
||||
{/if}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
{/foreach}
|
||||
<table style="{$subContainer} {if $version!=1}padding: 5px 10px{else}padding: 5px 0px{/if}; " border="0" cellspacing="0" cellpadding="0" class="sale col-xs-12 col-md-6">
|
||||
<tbody>
|
||||
<tr>
|
||||
{* <td><a style="border: none;" title="{$sale.title|escape:'html':'UTF-8'}" href="{$sale.link|escape:'html':'UTF-8'}{$tracking}"><img style="border: none;" src="{$sale.image|escape:'html':'UTF-8'}" alt="{$sale.title|escape:'html':'UTF-8'}" width="568" height="189" /></a></td> *}
|
||||
{if $params['display_token'] == 1}
|
||||
<td style="width:60%;"><a style="border: none;" title="{$sale.title|escape:'html':'UTF-8'}" {if $params['sale_link'] == 1}href="[[data:token]]&back={$sale.link}"{else}href="[[data:token]]&back={$urlPathEncode}"{/if}><img style="margin-bottom: -3px; border: none;" src="{$sale.image|escape:'html':'UTF-8'}" alt="{$sale.title|escape:'html':'UTF-8'}" width="348px" height="195px" /></a></td>
|
||||
{else}
|
||||
<td style="width:60%;"><a style="border: none;" title="{$sale.title|escape:'html':'UTF-8'}" href="http://www.privilegedemarque.com/{$tracking}"><img style="margin-bottom: -3px; border: none;" src="{$sale.image|escape:'html':'UTF-8'}" alt="{$sale.title|escape:'html':'UTF-8'}" width="348px" height="195px" /></a></td>
|
||||
{/if}
|
||||
<td style="background-color:#f3f5f5;">
|
||||
<table style="{$subContainer} padding:0 0 0 0; background-color: #f3f5f5; height:195px" border="0" cellspacing="0" cellpadding="0" width="100%" >
|
||||
<tbody>
|
||||
{if $endSale == 'true'}
|
||||
<tr style="text-align:center">
|
||||
<td>
|
||||
<img style="border: none;" src="{$urlImgPath}bandeau_end.png" alt="{$sale.title|escape:'html':'UTF-8'}" width="100%" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr style="text-align:center">
|
||||
<td>
|
||||
<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>
|
||||
</tr>
|
||||
<tr {if $endSale == 'true'}{else}style="height:80px"{/if}>
|
||||
<td style="vertical-align: top; padding: 5px 5px 0 5px;">
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
{if $params['display_token'] == 1}
|
||||
<td style="vertical-align: top; padding: 0; text-align: center;" width="135"><a style="display: inline-block; border: none; padding:10px 7px; font-family: Arial, sans-serif; font-size:15px; text-decoration:none; color:#fff; background-color: #F05249;" title="{$sale.title|escape:'html':'UTF-8'}"{if $params['sale_link'] == 1}href="[[data:token]]&back={$sale.link}"{else}href="[[data:token]]&back={$urlPathEncode}"{/if}>J'EN PROFITE !</a></td>
|
||||
{else}
|
||||
<td style="vertical-align: top; padding: 0; text-align: center;" width="135"><a style="display: inline-block; border: none; padding:10px 7px; font-family: Arial, sans-serif; font-size:15px; text-decoration:none; color:#fff; background-color: #F05249;" title="{$sale.title|escape:'html':'UTF-8'}" href="http://www.privilegedemarque.com/{$tracking}">J'EN PROFITE !</a></td>
|
||||
{/if}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
{/foreach}
|
Loading…
Reference in New Issue
Block a user