From 806b205def9cc8cd12e143cad84857d7e1973977 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sun, 17 Nov 2024 19:03:28 +0100 Subject: [PATCH] fix flash message with mail --- assets/images/icons.svg | 7 ------- lib/additionals/patches/application_controller_patch.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/assets/images/icons.svg b/assets/images/icons.svg index 08ffed04..5259d047 100644 --- a/assets/images/icons.svg +++ b/assets/images/icons.svg @@ -58,13 +58,6 @@ - - - - - - - diff --git a/lib/additionals/patches/application_controller_patch.rb b/lib/additionals/patches/application_controller_patch.rb index f075b593..7cc488ce 100644 --- a/lib/additionals/patches/application_controller_patch.rb +++ b/lib/additionals/patches/application_controller_patch.rb @@ -12,7 +12,7 @@ module ApplicationControllerPatch module InstanceMethods def render_flash_mail(mail, name = nil) - content = "#{name} #{mail}" + content = "#{name} (#{mail})" return content if name.blank? "#{name} #{content}"