Fixed emails

This commit is contained in:
Diego Calvo
2021-03-30 14:19:16 +02:00
parent 98b0099e45
commit 373e892463
5 changed files with 74 additions and 39 deletions

View File

@@ -430,21 +430,11 @@
href="https://latienda.coop/productos/{{product.id}}"
target="_blank"
>
{% if product.image %}
<img
alt=""
height="auto"
{%
if
product.image
%}
src="{{product.image.url}}"
{%
else
%}
src="https://latienda.coop/_nuxt/img/latienda-product-default.0b2c2e0.svg"
{%
endif
%}
style="
border: none;
display: block;
@@ -456,6 +446,23 @@
"
width="250"
/>
{% else %}
<img
alt=""
height="auto"
src="https://latienda.coop/_nuxt/img/latienda-product-default.772863e.png"
style="
border: none;
display: block;
outline: none;
text-decoration: none;
height: auto;
width: 100%;
font-size: 13px;
"
width="250"
/>
{% endif %}
</a>
</td>
</tr>
@@ -729,18 +736,28 @@
<tr>
<td>
<a href="{{company.shop_link}}" target="_blank">
{% if company.logo %}
<img
alt="logo cooperativa"
height="auto"
{%
if
company.logo
%}
src="{{company.logo.url}}"
{%
else
%}
src="https://latienda.coop/_nuxt/img/latienda-product-default.0b2c2e0.svg"
style="
border: none;
display: block;
outline: none;
text-decoration: none;
height: auto;
width: 50%;
font-size: 13px;
padding-top: 20px;
margin: auto;
"
/>
{% else %}
<img
alt="logo cooperativa"
height="auto"
src="https://latienda.coop/_nuxt/img/latienda-product-default.772863e.png"
{%
endif
%}
@@ -756,6 +773,7 @@
margin: auto;
"
/>
{% endif %}
</a>
</td>
</tr>