<table>
<tr>
<td>Image</td>
<td>Procust_name</td>
<td>Price</td>
<td>Qty</td>
<td>Sum</td>
</tr>
{% for line_item in account.top_purchased_offers %}
<tr>
<td><img src="{{ line_item.picture }}" /></td>
<td><a href="{{ line_item.url }}">{{ line_item.name }}</a></td>
<td>{{ line_item.price }}</td>
<td>{{ line_item.qnt }} шт.</td>
<td>{{ line_item.total }}</td>
</tr>
{% endfor %}
</table>
<table>
<tr>
<td>Image</td>
<td>Priduct_name</td>
<td>Price</td>
<td>Qty</td>
<td>Sum</td>
</tr>
{% for line_item in account.top_viewed_offers %}
<tr>
<td><img src="{{ line_item.picture }}" /></td>
<td><a href="{{ line_item.url }}">{{ line_item.name }}</a></td>
<td>{{ line_item.price }}</td>
<td>{{ line_item.qnt }} шт.</td>
<td>{{ line_item.total }}</td>
</tr>
{% endfor %}
</table>
<a href="{{ line_item.picture }}" style="text-decoration: none; color: #006699;"> {{ line_item.name }} </a>