From 2c09c5decb6e566334a4dc5747244366184ac1fd Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 8 Mar 2020 13:03:40 +0100 Subject: [PATCH] suite --- app/views/layouts/mail.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/mail.html.haml b/app/views/layouts/mail.html.haml index f16015c..faa67f5 100755 --- a/app/views/layouts/mail.html.haml +++ b/app/views/layouts/mail.html.haml @@ -16,7 +16,7 @@ =image_tag "https://"+HOSTNAME+@m_odr.logo_image_file.file.url, :class => "odr_logo", :style => (@m_odr.logo_image_file_width? ? "max-width:#{@m_odr.logo_image_file_width}px;margin:auto;": "") - -if @m_odr.logo_image_file + -if @m_odr.banner_image_file =image_tag "https://"+HOSTNAME+@m_odr.banner_image_file.file.url, :class => "odr_banner", :style => (@m_odr.banner_image_file_width? ? "max-width:#{@m_odr.banner_image_file_width}px;margin:auto;margin-bottom:40px;": "") -background = (@m_odr.background_image_file ? "https://"+HOSTNAME+@m_odr.background_image_file.file.url : "")