product.image in templates
This commit is contained in:
@@ -124,11 +124,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -188,18 +184,11 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
"
|
||||
style="border-collapse: collapse; border-spacing: 0px"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
width: 250px;
|
||||
"
|
||||
>
|
||||
<td style="width: 250px">
|
||||
<a
|
||||
href="https://latienda.coop/"
|
||||
target="_blank"
|
||||
@@ -266,11 +255,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -327,8 +312,7 @@
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-family: Poppins,
|
||||
Arial, sans-serif;
|
||||
font-family: Poppins, Arial, sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
@@ -336,8 +320,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
Confirmación de solicitud
|
||||
enviada
|
||||
Confirmación de solicitud enviada
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -380,11 +363,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -442,30 +421,27 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
"
|
||||
style="border-collapse: collapse; border-spacing: 0px"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
width: 250px;
|
||||
"
|
||||
>
|
||||
<a
|
||||
href="[ENLACE A PRODUCTO]"
|
||||
target="_blank"
|
||||
>
|
||||
<td style="width: 250px">
|
||||
<a href="[ENLACE A PRODUCTO]" target="_blank">
|
||||
<img
|
||||
alt=""
|
||||
height="auto"
|
||||
{% if product.image %}
|
||||
src="{{product.image.url}}"
|
||||
{% else %}
|
||||
{%
|
||||
if
|
||||
product.image
|
||||
%}
|
||||
src="{{product.image}}"
|
||||
{%
|
||||
else
|
||||
%}
|
||||
src="DEFAULT_PRODUCT_IMAGE"
|
||||
{% endif %}
|
||||
{%
|
||||
endif
|
||||
%}
|
||||
style="
|
||||
border: none;
|
||||
display: block;
|
||||
@@ -499,8 +475,7 @@
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-family: Noto Sans,
|
||||
sans-serif;
|
||||
font-family: Noto Sans, sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
@@ -509,12 +484,8 @@
|
||||
>
|
||||
<span
|
||||
href="https://latienda.coop/productos/{{product.id}}"
|
||||
style="
|
||||
font-size: 15px;
|
||||
display: inline-block;
|
||||
"
|
||||
>Enlace al
|
||||
producto</span
|
||||
style="font-size: 15px; display: inline-block"
|
||||
>Enlace al producto</span
|
||||
>
|
||||
<br />
|
||||
<span
|
||||
@@ -523,8 +494,7 @@
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
"
|
||||
>Nombre del
|
||||
producto</span
|
||||
>Nombre del producto</span
|
||||
>
|
||||
<br />
|
||||
<span
|
||||
@@ -574,8 +544,7 @@
|
||||
>
|
||||
<p
|
||||
style="
|
||||
font-family: Noto Sans,
|
||||
sans-serif;
|
||||
font-family: Noto Sans, sans-serif;
|
||||
font-size: 17px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
@@ -583,14 +552,10 @@
|
||||
margin: 0 50px;
|
||||
"
|
||||
>
|
||||
¡Hola! Tu solicitud de
|
||||
compra de este producto ha
|
||||
sido comunicado a la
|
||||
cooperativa. Pronto tendrás
|
||||
noticias suyas. Para
|
||||
cualquier duda o asistencia,
|
||||
ponte en contacto con
|
||||
{{company.short_name}}.
|
||||
¡Hola! Tu solicitud de compra de este producto ha sido
|
||||
comunicado a la cooperativa. Pronto tendrás noticias
|
||||
suyas. Para cualquier duda o asistencia, ponte en
|
||||
contacto con {{company.short_name}}.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -633,11 +598,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -692,8 +653,7 @@
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-family: Poppins,
|
||||
Arial, sans-serif;
|
||||
font-family: Poppins, Arial, sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
@@ -727,12 +687,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="
|
||||
font-weight: bold;
|
||||
"
|
||||
>Nombre:
|
||||
</span>
|
||||
<span style="font-weight: bold">Nombre: </span>
|
||||
{{company.company_name}}
|
||||
</div>
|
||||
</td>
|
||||
@@ -759,30 +714,29 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="
|
||||
font-weight: bold;
|
||||
"
|
||||
>Email:
|
||||
</span>
|
||||
<span style="font-weight: bold">Email: </span>
|
||||
{{company.email}}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a
|
||||
href="{{company.shop_link}}"
|
||||
target="_blank"
|
||||
>
|
||||
<a href="{{company.shop_link}}" target="_blank">
|
||||
<img
|
||||
alt="logo cooperativa"
|
||||
height="auto"
|
||||
{% if company.logo %}
|
||||
{%
|
||||
if
|
||||
company.logo
|
||||
%}
|
||||
src="{{company.logo.url}}"
|
||||
{% else %}
|
||||
{%
|
||||
else
|
||||
%}
|
||||
src="DEFAULT_COOP_IMAGE"
|
||||
{% endif %}
|
||||
{%
|
||||
endif
|
||||
%}
|
||||
style="
|
||||
border: none;
|
||||
display: block;
|
||||
@@ -837,11 +791,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -895,11 +845,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -955,8 +901,7 @@
|
||||
>
|
||||
<p
|
||||
style="
|
||||
border-top: solid 2px
|
||||
#ffffff;
|
||||
border-top: solid 2px #ffffff;
|
||||
font-size: 1px;
|
||||
margin: 0px auto;
|
||||
width: 100%;
|
||||
@@ -969,8 +914,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
style="
|
||||
border-top: solid
|
||||
2px #ffffff;
|
||||
border-top: solid 2px #ffffff;
|
||||
font-size: 1px;
|
||||
margin: 0px auto;
|
||||
width: 560px;
|
||||
@@ -979,14 +923,7 @@
|
||||
width="560px"
|
||||
>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
"
|
||||
>
|
||||
|
||||
</td>
|
||||
<td style="height: 0; line-height: 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
|
||||
@@ -121,11 +121,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -185,18 +181,11 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
"
|
||||
style="border-collapse: collapse; border-spacing: 0px"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
width: 250px;
|
||||
"
|
||||
>
|
||||
<td style="width: 250px">
|
||||
<a
|
||||
href="https://latienda.coop/"
|
||||
target="_blank"
|
||||
@@ -262,11 +251,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -323,8 +308,7 @@
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-family: Poppins,
|
||||
Arial, sans-serif;
|
||||
font-family: Poppins, Arial, sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
@@ -332,8 +316,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
Interés en compra de
|
||||
producto
|
||||
Interés en compra de producto
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -376,11 +359,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -438,18 +417,11 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
"
|
||||
style="border-collapse: collapse; border-spacing: 0px"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
width: 250px;
|
||||
"
|
||||
>
|
||||
<td style="width: 250px">
|
||||
<a
|
||||
href="https://latienda.coop/productos/{{product.id}}"
|
||||
target="_blank"
|
||||
@@ -461,7 +433,7 @@
|
||||
if
|
||||
product.image
|
||||
%}
|
||||
src="{{product.image.url}}"
|
||||
src="{{product.image}}"
|
||||
{%
|
||||
else
|
||||
%}
|
||||
@@ -502,8 +474,7 @@
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-family: Noto Sans,
|
||||
sans-serif;
|
||||
font-family: Noto Sans, sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
@@ -512,12 +483,8 @@
|
||||
>
|
||||
<span
|
||||
href="https://latienda.coop/productos/{{product.id}}"
|
||||
style="
|
||||
font-size: 15px;
|
||||
display: inline-block;
|
||||
"
|
||||
>Enlace al
|
||||
producto</span
|
||||
style="font-size: 15px; display: inline-block"
|
||||
>Enlace al producto</span
|
||||
>
|
||||
<br />
|
||||
<span
|
||||
@@ -526,8 +493,7 @@
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
"
|
||||
>Nombre del
|
||||
producto</span
|
||||
>Nombre del producto</span
|
||||
>
|
||||
<br />
|
||||
<span
|
||||
@@ -600,11 +566,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -659,8 +621,7 @@
|
||||
>
|
||||
<div
|
||||
style="
|
||||
font-family: Poppins,
|
||||
Arial, sans-serif;
|
||||
font-family: Poppins, Arial, sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
@@ -694,12 +655,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="
|
||||
font-weight: bold;
|
||||
"
|
||||
>Nombre:
|
||||
</span>
|
||||
<span style="font-weight: bold">Nombre: </span>
|
||||
{{user.full_name}}
|
||||
</div>
|
||||
</td>
|
||||
@@ -726,12 +682,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="
|
||||
font-weight: bold;
|
||||
"
|
||||
>Email:
|
||||
</span>
|
||||
<span style="font-weight: bold">Email: </span>
|
||||
{{user.email}}
|
||||
</div>
|
||||
</td>
|
||||
@@ -758,12 +709,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="
|
||||
font-weight: bold;
|
||||
"
|
||||
>Teléfono:
|
||||
</span>
|
||||
<span style="font-weight: bold">Teléfono: </span>
|
||||
{{telephone}}
|
||||
</div>
|
||||
</td>
|
||||
@@ -790,11 +736,7 @@
|
||||
color: #374493;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="
|
||||
font-weight: bold;
|
||||
"
|
||||
>Comentarios: </span
|
||||
<span style="font-weight: bold">Comentarios: </span
|
||||
>{{comment}}
|
||||
</div>
|
||||
</td>
|
||||
@@ -838,11 +780,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -896,11 +834,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="
|
||||
background: #ffffff;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
"
|
||||
style="background: #ffffff; background-color: #ffffff; width: 100%"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -956,8 +890,7 @@
|
||||
>
|
||||
<p
|
||||
style="
|
||||
border-top: solid 2px
|
||||
#ffffff;
|
||||
border-top: solid 2px #ffffff;
|
||||
font-size: 1px;
|
||||
margin: 0px auto;
|
||||
width: 100%;
|
||||
@@ -970,8 +903,7 @@
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
style="
|
||||
border-top: solid
|
||||
2px #ffffff;
|
||||
border-top: solid 2px #ffffff;
|
||||
font-size: 1px;
|
||||
margin: 0px auto;
|
||||
width: 560px;
|
||||
@@ -980,14 +912,7 @@
|
||||
width="560px"
|
||||
>
|
||||
<tr>
|
||||
<td
|
||||
style="
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
"
|
||||
>
|
||||
|
||||
</td>
|
||||
<td style="height: 0; line-height: 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
|
||||
Reference in New Issue
Block a user