|
2 | 2 | {include file="string:`$sCampaignContainer.description`"} |
3 | 3 | </h2> |
4 | 4 |
|
5 | | -<table width="560" border="0" cellpadding="0" cellspacing="0" style="margin:0;padding:0;font-family:Arial,Helvetica;"> |
| 5 | +<table width="560" border="0" cellpadding="0" cellspacing="0" style="width:560px;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;"> |
6 | 6 | <tr> |
7 | 7 | <td width="100%"> |
8 | | - <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:0;padding:0;font-family:Arial,Helvetica;"> |
| 8 | + <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;"> |
9 | 9 | {foreach from=$sCampaignContainer.data item=sArticle name=artikelListe} |
10 | 10 | {if $sArticle@index%3==0}<tr>{/if} |
| 11 | + |
11 | 12 | <!-- beginning article --> |
12 | | - <td height="320" width="180" align="center" valign="top" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #dfdfdf; padding:0;margin:0; width:180px;"> |
| 13 | + |
| 14 | + {$boxWidth = 180} |
| 15 | + |
| 16 | + {if $sCampaignContainer.data|count == 1} |
| 17 | + {$boxWidth = 560} |
| 18 | + {elseif $sCampaignContainer.data|count == 2} |
| 19 | + {$boxWidth = 270} |
| 20 | + {/if} |
| 21 | + |
| 22 | + <td height="350" width="{$boxWidth}" align="center" valign="top" style="border: 1px solid #dfdfdf; padding:0;margin:0; width:{$boxWidth}px;"> |
13 | 23 | <!-- article content --> |
14 | | - <table width="100%" height="100%" align="center" border="0" cellpadding="0" cellspacing="0" style="padding:0;margin:0;background-color:#ffffff;font-family:Arial,Helvetica;"> |
| 24 | + <table width="{$boxWidth}" align="center" border="0" cellpadding="0" cellspacing="0" style="width:{$boxWidth}px; padding:0; margin:0; background-color:#ffffff; font-family:Arial,Helvetica,sans-serif;"> |
15 | 25 | <tr> |
16 | | - <td height="180" valign="center" style="text-align:center;background-color:#fff;"> |
| 26 | + <td height="180" valign="center" style="height: 180px; text-align:center; background-color:#fff;"> |
17 | 27 | <div align="center" style="overflow:hidden;"> |
18 | 28 | <a target="_blank" href="{url controller=detail sArticle=$sArticle.articleID}" title="{$sArticle.articleName|escape}"> |
19 | 29 | {if $sArticle.image.source} |
20 | | - <img style="max-height: 140px;max-width: 130px;" src="{$sArticle.image.thumbnails[0].source}" border="0" alt="{$sArticle.articleName|escape|truncate:155}"> |
| 30 | + <img style="max-height: 160px; max-width: 160px;" src="{$sArticle.image.thumbnails[0].source}" border="0" alt="{$sArticle.articleName|escape|truncate:155}"> |
21 | 31 | {else} |
22 | | - <img src="{link file='frontend/_public/src/img/no-picture.jpg' fullPath}" alt="{s name="ListingBoxNoPicture" namespace="frontend/listing/box_article"}{/s}" border="0"/> |
| 32 | + <img style="max-height: 160px; max-width: 160px;" src="{link file='frontend/_public/src/img/no-picture.jpg' fullPath}" alt="{s name="ListingBoxNoPicture" namespace="frontend/listing/box_article"}{/s}" border="0"/> |
23 | 33 | {/if} |
24 | 34 | </a> |
25 | 35 | </div> |
26 | 36 | </td> |
27 | 37 | </tr> |
28 | 38 | <tr> |
29 | | - <td valign="top" style="color:#000; font-size:13px; background-color:#fff; height:5px; padding: 8px 10px 5px 10px; font-weight:bold;"> |
| 39 | + <td height="35" valign="top" style="color:#000; font-size:13px; background-color:#fff; height: 35px; padding: 10px 10px 5px 10px; font-weight:bold;"> |
30 | 40 | <a href="{url controller=detail sArticle=$sArticle.articleID}" target="_blank" title="{$sArticle.articleName|escape}" style="color:#000000;text-decoration:underline;font-size:13px;">{$sArticle.articleName}</a> |
31 | 41 | </td> |
32 | 42 | </tr> |
33 | 43 | <tr> |
34 | | - <td height="50" valign="top" style="font-size:13px; color:#8c8c8c; padding: 0 10px 8px 10px;"> |
| 44 | + <td height="50" valign="top" style="font-size:13px; color:#8c8c8c; height: 50px; padding: 0 10px 10px 10px;"> |
35 | 45 | {$sArticle.description_long|strip_tags|truncate:80:"..."} |
36 | 46 | </td> |
37 | 47 | </tr> |
38 | 48 | <tr> |
39 | | - <td height="40" style="text-align:left; padding:10px;"> |
40 | | - <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:Arial,Helvetica;"> |
| 49 | + <td height="40" style="text-align:left; height: 40px; padding:10px;"> |
| 50 | + <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:Arial,Helvetica,sans-serif;"> |
41 | 51 | <tr> |
42 | 52 | <td width="160"> |
43 | 53 | {if $sArticle.purchaseunit} |
44 | | - <div style="font-size:13px;color:#888;margin-bottom:8px;"> |
45 | | - <p style="font-size:13px;margin:0;"> |
| 54 | + <div style="font-size:12px;color:#888;margin-bottom:10px;"> |
| 55 | + <p style="font-size:12px;margin:0;"> |
46 | 56 | <strong>{s name="ListingBoxArticleContent" namespace="frontend/listing/box_article"}{/s}:</strong> {$sArticle.purchaseunit} {$sArticle.sUnit.description} |
47 | 57 | </p> |
48 | 58 | {if $sArticle.purchaseunit != $sArticle.referenceunit} |
49 | | - <p style="font-size:13px;margin:0"> |
| 59 | + <p style="font-size:12px;margin:0"> |
50 | 60 | {if $sArticle.referenceunit} |
51 | 61 | <strong class="baseprice">{s name="ListingBoxBaseprice" namespace="frontend/listing/box_article"}{/s}:</strong> |
52 | 62 | {$sArticle.referenceunit} {$sArticle.sUnit.description} = {$sArticle.referenceprice|currency} {s name="Star" namespace="frontend/listing/box_article"}{/s} |
|
56 | 66 | </div> |
57 | 67 | {/if} |
58 | 68 | {if $sArticle.has_pseudoprice} |
59 | | - <span style="color:#999; font-size:13px; line-height:13px;"><s>{$sArticle.pseudoprice|currency} {s name="Star" namespace="frontend/listing/box_article"}{/s}</s></span> |
| 69 | + <span style="color:#999; font-size:12px; line-height:12px;"><s>{$sArticle.pseudoprice|currency} {s name="Star" namespace="frontend/listing/box_article"}{/s}</s></span> |
60 | 70 | <br/> |
61 | 71 | <strong style="color:#990000;font-size:14px;"> |
62 | 72 | {if $sArticle.priceStartingFrom}{s name='NewsletterBoxArticleStartsAt'}ab{/s} {/if} |
|
0 commit comments