Browse Source

Merge pull request #12 from dgzurita/website_mail_snippet_fixed

Main title added to each block
pull/47/head
Yajo 9 years ago
parent
commit
aa0327d153
  1. 3
      website_mail_snippet_fixed/views/snippet_1_col.xml
  2. 3
      website_mail_snippet_fixed/views/snippet_2_cols.xml
  3. 4
      website_mail_snippet_fixed/views/snippet_event_date.xml
  4. 3
      website_mail_snippet_fixed/views/snippet_img_text.xml
  5. 3
      website_mail_snippet_fixed/views/snippet_text_img.xml

3
website_mail_snippet_fixed/views/snippet_1_col.xml

@ -12,6 +12,9 @@
<t t-set="image" t-value="'snippet_1_col'"/> <t t-set="image" t-value="'snippet_1_col'"/>
<t t-set="title">Big image + Text + Button (1 column)</t> <t t-set="title">Big image + Text + Button (1 column)</t>
<tbody> <tbody>
<tr>
<td align="left" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 10px 20px;">Title</td>
</tr>
<tr> <tr>
<td><a href="#" target="_blank"><img src="http://placehold.it/560x200/aaaaaa/ffffff?text=width 560px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 560px;" border="0" width="570"/> </a></td> <td><a href="#" target="_blank"><img src="http://placehold.it/560x200/aaaaaa/ffffff?text=width 560px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 560px;" border="0" width="570"/> </a></td>
</tr> </tr>

3
website_mail_snippet_fixed/views/snippet_2_cols.xml

@ -12,6 +12,9 @@
<t t-set="image" t-value="'snippet_2_cols'"/> <t t-set="image" t-value="'snippet_2_cols'"/>
<t t-set="title">Image + Text + Button (2 columns)</t> <t t-set="title">Image + Text + Button (2 columns)</t>
<tbody> <tbody>
<tr>
<td align="left" colspan="2" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 0 20px;">Title</td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"> <td style="padding: 0;" valign="top">
<!-- LEFT COLUMN --> <!-- LEFT COLUMN -->

4
website_mail_snippet_fixed/views/snippet_event_date.xml

@ -12,7 +12,9 @@
<t t-set="image" t-value="'snippet_event_date'"/> <t t-set="image" t-value="'snippet_event_date'"/>
<t t-set="title">Date + Text + Button (2 columns)</t> <t t-set="title">Date + Text + Button (2 columns)</t>
<tbody> <tbody>
<tr><td align="left" colspan="2" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 0 20px;">Title</td></tr>
<tr>
<td align="left" colspan="2" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 0 20px;">Title</td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"><!-- LEFT COLUMN --> <td style="padding: 0;" valign="top"><!-- LEFT COLUMN -->
<table align="left" border="0" cellpadding="0" cellspacing="0" width="50%"> <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">

3
website_mail_snippet_fixed/views/snippet_img_text.xml

@ -12,6 +12,9 @@
<t t-set="image" t-value="'snippet_img_text'"/> <t t-set="image" t-value="'snippet_img_text'"/>
<t t-set="title">Left Image, Right Text + Button</t> <t t-set="title">Left Image, Right Text + Button</t>
<tbody> <tbody>
<tr>
<td align="left" colspan="2" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 0 20px;">Title</td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"><!-- LEFT COLUMN --> <td style="padding: 0;" valign="top"><!-- LEFT COLUMN -->
<table align="left" border="0" cellpadding="0" cellspacing="0" width="50%"> <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">

3
website_mail_snippet_fixed/views/snippet_text_img.xml

@ -12,6 +12,9 @@
<t t-set="image" t-value="'snippet_text_img'"/> <t t-set="image" t-value="'snippet_text_img'"/>
<t t-set="title">Left Text and Button, Right Image</t> <t t-set="title">Left Text and Button, Right Image</t>
<tbody> <tbody>
<tr>
<td align="left" colspan="2" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 0 20px;">Title</td>
</tr>
<tr> <tr>
<td style="padding: 0;" valign="top"><!-- LEFT COLUMN --> <td style="padding: 0;" valign="top"><!-- LEFT COLUMN -->
<table align="left" border="0" cellpadding="0" cellspacing="0" width="50%"> <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">

Loading…
Cancel
Save