From 2f8206edd51a3f08a4f0c0cd92e6f9e2bf1cd20b Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Thu, 5 Apr 2018 12:36:29 +0200 Subject: [PATCH] [Fix #1799] Extract bizdev signature to prepare reuse --- .../administration_mailer/invite_admin.html.haml | 14 +------------- .../layouts/mailers/_bizdev_signature.html.haml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 app/views/layouts/mailers/_bizdev_signature.html.haml diff --git a/app/views/administration_mailer/invite_admin.html.haml b/app/views/administration_mailer/invite_admin.html.haml index 1c2c5f66d..dfbf0cb3c 100644 --- a/app/views/administration_mailer/invite_admin.html.haml +++ b/app/views/administration_mailer/invite_admin.html.haml @@ -19,16 +19,4 @@ Je vous invite également à consulter notre site de documentation qui regroupe = link_to('https://demarches-simplifiees.gitbook.io/demarches-simplifiees/', 'https://demarches-simplifiees.gitbook.io/demarches-simplifiees/') %br %br -Cordialement, -%br -%br -Camille Garrigue -%br -%br -Équipe demarches-simplifiees.fr -%br -Téléphone (standard) : 01 76 42 02 87​ -%br -Incubateur de Services Numériques / beta.gouv.fr -%br -Services du Premier Ministre, 20 avenue de Ségur, 75007 Paris += render partial: "layouts/mailers/bizdev_signature" diff --git a/app/views/layouts/mailers/_bizdev_signature.html.haml b/app/views/layouts/mailers/_bizdev_signature.html.haml new file mode 100644 index 000000000..d9f078730 --- /dev/null +++ b/app/views/layouts/mailers/_bizdev_signature.html.haml @@ -0,0 +1,13 @@ +Cordialement, +%br +%br +Camille Garrigue +%br +%br +Équipe demarches-simplifiees.fr +%br +Téléphone (standard) : 01 76 42 02 87 +%br +Incubateur de Services Numériques / beta.gouv.fr +%br +Services du Premier Ministre, 20 avenue de Ségur, 75007 Paris