From dae51ced745a10d335e4c0eec347527c18895a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chai=CC=88b=20Martinez?= Date: Mon, 18 Mar 2019 16:34:13 +0100 Subject: [PATCH] Add Sendinblue js tracking for admin logged users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Chaìˆb Martinez --- app/views/layouts/application.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 0d59a2c6c..8dae66ea3 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -22,7 +22,8 @@ = stylesheet_link_tag :xray = render partial: "layouts/matomo" - = render partial: "layouts/sendinblue" + - if administrateur_signed_in? + = render partial: "layouts/sendinblue" :javascript