Files
dagster/apps/vinyl/email.html

22 lines
908 B
HTML

<div style="font-family: Arial, sans-serif; padding: 20px;">
<h2 style="color: #333;">🎶 New Deals</h2>
{% for source, rows in deals.items() %}
<h2>{{ source|capitalize }}</h2>
{% for row in rows %}
<div style="margin-bottom: 10px; padding: 10px 15px; font-size: 0.95rem;">
<a href="{{ row.url }}" style="text-decoration: none; color: #1a73e8;">
<h3 style="margin: 0 0 10px;">🆕 {{ row.artist|title }} - {{ row.title|title }}</h3>
</a>
<ul style="list-style: none; padding-left: 0; margin: 0;">
<li><strong>Artist:</strong> {{ row.artist|title }}</li>
<li><strong>Title:</strong> {{ row.title|title }}</li>
<li><strong>Price:</strong> €{{ "%.2f"|format(row.price) }}</li>
<li><strong>Release Date:</strong> {{ row.release }}</li>
</ul>
</div>
{% endfor %}
{% endfor %}
</div>