{% extends "email/_base.html" %} {% load i18n club_email %} {% comment %} HTML sibling of notification.txt -- same content, same context (club, notification, request), laid out for an inbox. Same shell/branding as every other transactional email in this app (club/templates/club/email/*.html, members/.../claim_approved.html) -- see that convention before changing this. {% endcomment %} {% block title %}{% blocktrans with club=club.name title=notification.title %}{{ club }} — {{ title }}{% endblocktrans %}{% endblock title %} {% block preheader %}{{ notification.title }}{% endblock preheader %} {% block header %} {% absolute_media_url club.logo as logo_url %}
{% if club.logo %} {{ club.name }} {% else %}
{{ club.initials }}
{% endif %}
{{ club.name }}
{% endblock header %} {% block content %}

{{ notification.title }}

{{ notification.body|linebreaks }}
{% endblock content %} {% block footer %} {% if club.contact_email %}

{% blocktrans with email=club.contact_email %}Questions? Reply to this note or write to {{ email }}.{% endblocktrans %}

{% endif %}

{% blocktrans with club=club.name %}— {{ club }}{% endblocktrans %}

{% endblock footer %}