From 532f589e6f9709abb0645f63ecd6339fd01c9834 Mon Sep 17 00:00:00 2001 From: Thibault Jouannic Date: Tue, 10 Oct 2023 14:39:37 +0200 Subject: [PATCH 1/5] Update mail base template logo --- envergo/static/images/logo_mte.png | Bin 0 -> 15047 bytes envergo/templates/emails/base_inlined.html | 25 ++++++++++++++------- envergo/templates/emails/base_tpl.html | 4 ++-- 3 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 envergo/static/images/logo_mte.png diff --git a/envergo/static/images/logo_mte.png b/envergo/static/images/logo_mte.png new file mode 100644 index 0000000000000000000000000000000000000000..9f4f7b2992c7812d16071de11d093742c3b7dfac GIT binary patch literal 15047 zcmaL81ys~~6fHa`jkJO^2m(rXgEUB|AdS+g(k-HtfP{cFBGMo!4bmYcgM@TQNO$uc z?)TnX@4dCYkGq!l-f?F5&+mWEK6~%8CsbWk9v7P&8-YOJDk{imA`mE#;J;TeZ@`~~ zJ^4NGFH|c@6-fl5Gz#b33=RID_L+jF3IgH9h(H7cArPnVP{0ZT;mV0XteGMZ!ifk3 zsdGxLhA8|6y1A0P4C3ngpNxi_SOh|7T2V$)+hbxQ)$NKTX(pRz^mVhY=2?0kKf2ClgH zbl&!w(R@u5nDNJqB153~6Ca=FTzUUQqR+?$$LC?THS24B8`@6{dcuazk z>FmJ{`|^yGM+XA4`iM+O^RVSDneQoQ&{p`7QMu-W&6uDIQIDVSmkHzFoyrpRawyI} zzavi4qWjk_ zIv@M=yx3W;n-ULaIyp7X%zSl5m^@F!TWB=3w6rueHMOD3 zk3FM#Mxr zO7vdHn>3l&Jn%l(N52M~?joH1H)?jcnir2ID>= zu07K)mm6(+{;lz{o#n~&`DLA)LKkw~{!HSEQcJgEy6nE|*tfx{Iv!C`>a~>=j)(bM zJy;4c_6~2Ea03GB(ot?Q{F&&=R&o;Hdx07Fh=__ys$;;(T(!TYqQbMbHY}Mx`}kCx zkkl%YVzh*1Ib&!-T)R0IZtm2;_S`Q?$xqgv`_?CKarm~?YHDa`#90f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y} zbs;4{;vpV2&(HyR0JE2%eqgKVN*o|8Qm!2_D^J3i&O(_c-cQ>KWLXV4?-L zK#Be^Fa2F&GGJZ`yOr^YiN^$O|3*t-E_z0SPw9KOPWH6Xd9DS9j)zY^cy>F78wQ3W zS@l+^k}$#f`1y%YHH?fR#H6A7_kmhKEW^hG%1~PR4df)By1Kh3L`Q?pW|+>*&bF9q zc}swSf2=mz3_}}E8kRamUvqM@gdJcHiz?sj$s;GMqt!O6!bTTTuYrJ6Ma89J!x(L#Ocm_?Y-8s@wZo$|lB zAQj(h_OC$4!@+?Sz!{|Q)R|s^nGci(FdZlf1Q&XK{=9YTRtkjrKsW)587(q!-SJ)6s5&)yHadgDP!pa=7hPM2FW$V%IZcKc9hnXM|@b3=mes46OFpx%U(o8~Z8jCp61ICWGre z(QjD}gW=!$`g^8_4*}2e^Wku(YF!H|EAKeScgLqexJs>W=_TA{al7BF>)7=+ShwwYz$Ivzmv1$e>D!`W%1A{|UxY)(8;c_mo00t#jKc)^Paf=;%l`nB&%z zAq?Hk&5y_<;-jNq`#n}xX285BB0^Dg2^Gqmgz@xXcem{O_u$bR$0az`U%$%1mTZEz z9cC)$-S-gv%NPN&04vjYhVJuoA3!BItQZEM;Ic7aVAlQCZh;o!jcwZg5|t3gPGqI9j{>vW57L8|>5yXsYXGWlXbq+z&{$`Hus0a^c;vhx zt#gIO4Ykm-g@vqKTrYa!9zebr^6!a2%aZ&2PWNr>?bqQO4*ZUjAyUm4sHnig29gEv z6RvEy)RSo!F z2)HNk#z5`hLN})y3O;|np-VK|WYIPO4FcRuV-D7)fXB^}uL$61z)-<4P6aPck^qL@ z!NEb-zt-;VP=;=Rq7>u3nBSSkK1Q z%0fdJ8d8>Yw6y_CFf9p%$q8HnHus;L#Vsp4(V@{(rw9 - - + + {% block title %}{% endblock %} @@ -64,6 +64,7 @@ width: auto !important; } } + @media all { .ExternalClass { width: 100%; @@ -201,14 +202,14 @@ text-align: center" valign="top" align="center"> - République française. Liberté Égalité Fraternité @@ -269,7 +270,11 @@ font-size: 16px; vertical-align: top" valign="top"> -

N'hésitez pas à nous contacter pour toute question.

+

N'hésitez pas à nous contacter pour toute question.

Tél. : 07 56 81 02 11
- Email : contact@envergo.beta.gouv.fr + Email : contact@envergo.beta.gouv.fr
- Site web : https://envergo.beta.gouv.fr + Site web : https://envergo.beta.gouv.fr

diff --git a/envergo/templates/emails/base_tpl.html b/envergo/templates/emails/base_tpl.html index 1f9ed937e..2b5f9a951 100644 --- a/envergo/templates/emails/base_tpl.html +++ b/envergo/templates/emails/base_tpl.html @@ -361,8 +361,8 @@
- République française. Liberté Égalité Fraternité Date: Tue, 10 Oct 2023 14:39:51 +0200 Subject: [PATCH 2/5] Add settings for css and js in .djlintrc --- .djlintrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.djlintrc b/.djlintrc index 4a62333cf..268c1b5aa 100644 --- a/.djlintrc +++ b/.djlintrc @@ -4,5 +4,13 @@ "line_break_after_multiline_tag": false, "max_line_length": 120, "preserve_blank_lines": true, - "ignore": "T002,T003,H021,D018,H022,H006,H029" + "ignore": "T002,T003,H021,D018,H022,H006,H029", + "format_css": true, + "css": { + "indent_size": 2 + }, + "format_js": true, + "js": { + "indent_size": 2 + } } From 111f46b9762f65116c34b7254e43275aafce3dcb Mon Sep 17 00:00:00 2001 From: Thibault Jouannic Date: Tue, 10 Oct 2023 15:01:48 +0200 Subject: [PATCH 3/5] Update AR email subjects --- envergo/evaluations/models.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/envergo/evaluations/models.py b/envergo/evaluations/models.py index f4e2c8973..fea33edf7 100644 --- a/envergo/evaluations/models.py +++ b/envergo/evaluations/models.py @@ -337,10 +337,7 @@ def get_regulatory_reminder_email(self, request): recipients = self.project_sponsor_emails cc_recipients = [] - if result == "non_soumis": - subject = "Avis réglementaire EnvErgo" - else: - subject = "Avis réglementaire Loi sur l'eau" + subject = "Avis réglementaire" if self.address: subject += f" / {self.address}" From 7055d450c036cafa289b527bacf556e54155ab4d Mon Sep 17 00:00:00 2001 From: Thibault Jouannic Date: Thu, 12 Oct 2023 09:04:08 +0200 Subject: [PATCH 4/5] Custom email mention is styled in italic --- envergo/templates/evaluations/admin/rr_email_soumis.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/envergo/templates/evaluations/admin/rr_email_soumis.html b/envergo/templates/evaluations/admin/rr_email_soumis.html index 5f1fa98db..e77fd23b3 100644 --- a/envergo/templates/evaluations/admin/rr_email_soumis.html +++ b/envergo/templates/evaluations/admin/rr_email_soumis.html @@ -7,7 +7,9 @@

Le porteur du projet doit déposer un dossier de déclaration Loi sur l'eau à la DDTM.

- {% if rr_mention_html %}{{ rr_mention_html|safe }}{% endif %} +
+ {% if rr_mention_html %}{{ rr_mention_html|safe }}{% endif %} +

Nous vous conseillons de prendre contact avec un bureau d'études en lui transmettant ces éléments.

From f31b658e793ce2ae0caf9cd027bab9aea8aa7040 Mon Sep 17 00:00:00 2001 From: Thibault Jouannic Date: Tue, 24 Oct 2023 10:45:29 +0200 Subject: [PATCH 5/5] Increase email logo width --- envergo/templates/emails/base_inlined.html | 6 ++-- envergo/templates/emails/base_tpl.html | 38 +++++++++++++++++----- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/envergo/templates/emails/base_inlined.html b/envergo/templates/emails/base_inlined.html index 045095d1f..826ed4a9a 100644 --- a/envergo/templates/emails/base_inlined.html +++ b/envergo/templates/emails/base_inlined.html @@ -204,14 +204,12 @@ align="center"> Ministère de la Transition Écologique + display: block">
diff --git a/envergo/templates/emails/base_tpl.html b/envergo/templates/emails/base_tpl.html index 2b5f9a951..6c464fc91 100644 --- a/envergo/templates/emails/base_tpl.html +++ b/envergo/templates/emails/base_tpl.html @@ -37,7 +37,9 @@ border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; - width: 100%; } + width: 100%; + } + table td { font-family: Arial, sans-serif; font-size: 16px; @@ -97,6 +99,7 @@ text-align: left; width: 100%; } + .footer td, .footer p, .footer span, @@ -105,8 +108,8 @@ font-size: 12px; text-align: left; } - .signature p { - } + + .signature p {} /* ------------------------------------- TYPOGRAPHY @@ -139,6 +142,7 @@ margin: 0; margin-bottom: 15px; } + p li, ul li, ol li { @@ -156,17 +160,23 @@ ------------------------------------- */ .btn { box-sizing: border-box; - width: 100%; } - .btn > tbody > tr > td { - padding-bottom: 15px; } + width: 100%; + } + + .btn>tbody>tr>td { + padding-bottom: 15px; + } + .btn table { width: auto; } + .btn table td { background-color: #ffffff; border-radius: 5px; text-align: center; } + .btn a { background-color: #ffffff; border: solid 1px #3498db; @@ -259,6 +269,7 @@ font-size: 28px !important; margin-bottom: 10px !important; } + table.body p, table.body ul, table.body ol, @@ -267,28 +278,35 @@ table.body a { font-size: 16px !important; } + table.body .wrapper, table.body .article { padding: 10px !important; } + table.body .content { padding: 0 !important; } + table.body .container { padding: 0 !important; width: 100% !important; } + table.body .main { border-left-width: 0 !important; border-radius: 0 !important; border-right-width: 0 !important; } + table.body .btn table { width: 100% !important; } + table.body .btn a { width: 100% !important; } + table.body .img-responsive { height: auto !important; max-width: 100% !important; @@ -303,6 +321,7 @@ .ExternalClass { width: 100%; } + .ExternalClass, .ExternalClass p, .ExternalClass span, @@ -311,6 +330,7 @@ .ExternalClass div { line-height: 100%; } + .apple-link a { color: inherit !important; font-family: inherit !important; @@ -319,6 +339,7 @@ line-height: inherit !important; text-decoration: none !important; } + #MessageViewBody a { color: inherit; text-decoration: none; @@ -327,15 +348,16 @@ font-weight: inherit; line-height: inherit; } + .btn-primary table td:hover { background-color: #34495e !important; } + .btn-primary a:hover { background-color: #34495e !important; border-color: #34495e !important; } } - @@ -363,7 +385,7 @@