From b0bfb640b1f8769fd2d6adf3d8bead1595abfa82 Mon Sep 17 00:00:00 2001 From: Emma Winston Date: Tue, 17 Sep 2019 22:06:34 +0100 Subject: [PATCH] Switch out logo in emails for site title --- app/views/layouts/mailer.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/mailer.html.haml b/app/views/layouts/mailer.html.haml index db5935cf7..e01272946 100644 --- a/app/views/layouts/mailer.html.haml +++ b/app/views/layouts/mailer.html.haml @@ -24,7 +24,8 @@ %tr %td.column-cell = link_to root_url do - = image_tag full_pack_url('media/images/mailer/logo_full.png'), alt: site_title, height: 34, class: 'logo' + %h1 + = site_title = yield @@ -49,4 +50,5 @@ %p= link_to t('application_mailer.notification_preferences'), settings_preferences_notifications_url %td.column-cell.text-right = link_to root_url do - = image_tag full_pack_url('media/images/mailer/logo_transparent.png'), alt: site_title, height: 24 + %h4 + = site_title