diff --git a/static/vendee-cd85/config.json b/static/vendee-cd85/config.json index eb59d93e..86422dda 100644 --- a/static/vendee-cd85/config.json +++ b/static/vendee-cd85/config.json @@ -1,13 +1,15 @@ { "label": "Vendée (CD85)", "variables": { - "theme_color": "#ED1B24" + "theme_color": "#ED1B24", + "email_header_asset": "emails:logo" }, "settings": { "combo": { "COMBO_ASSET_SLOTS.update": { "header:background": { "label": "Têtière : fond" }, - "header:logo": { "label": "Têtière : logo" } + "header:logo": { "label": "Têtière : logo" }, + "emails:logo": {"label": "Emails : logo"} } } } diff --git a/templates/variants/vendee-cd85/emails/footer.html b/templates/variants/vendee-cd85/emails/footer.html new file mode 100644 index 00000000..68881878 --- /dev/null +++ b/templates/variants/vendee-cd85/emails/footer.html @@ -0,0 +1,12 @@ +{% extends "emails/footer.html" %} + +{% block footer %} + {% if email_header_asset %} + {% firstof global_title + {% endif %} + {% if email_signature %} + {{ email_signature|linebreaks }} + {% endif %} +{% endblock %} diff --git a/templates/variants/vendee-cd85/emails/header.html b/templates/variants/vendee-cd85/emails/header.html new file mode 100644 index 00000000..c979a533 --- /dev/null +++ b/templates/variants/vendee-cd85/emails/header.html @@ -0,0 +1,10 @@ + + + + +
+ + {% firstof global_title "Compte Citoyen" %} + +
+