From 2396ff3355891e279acf7f8da52723b96ee097ee Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Mon, 6 Feb 2023 13:00:08 +0100 Subject: [PATCH] add service plus in notification emails --- app/views/layouts/mailers/_service_plus.html.haml | 3 +++ app/views/notification_mailer/send_notification.html.haml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 app/views/layouts/mailers/_service_plus.html.haml diff --git a/app/views/layouts/mailers/_service_plus.html.haml b/app/views/layouts/mailers/_service_plus.html.haml new file mode 100644 index 000000000..0dd34de33 --- /dev/null +++ b/app/views/layouts/mailers/_service_plus.html.haml @@ -0,0 +1,3 @@ +%p{ style: 'background-color: #F5F5FE; padding: 25px; ' } + J'aide les services publics à s'améliorer : + = link_to 'je donne mon avis avec services publics +', 'https://www.plus.transformation.gouv.fr/experience/step_1?pk_campaign=demarches-simplifiees', target: '_blank', rel: 'noopener' diff --git a/app/views/notification_mailer/send_notification.html.haml b/app/views/notification_mailer/send_notification.html.haml index 6ce7aa565..f8b956106 100644 --- a/app/views/notification_mailer/send_notification.html.haml +++ b/app/views/notification_mailer/send_notification.html.haml @@ -6,5 +6,7 @@ - if @actions.present? = render 'notification_mailer/actions', actions: @actions, dossier: @dossier += render 'layouts/mailers/service_plus' + - content_for :footer do = render 'layouts/mailers/service_footer', service: @service, dossier: @dossier