Skip to content

Commit

Permalink
fix flash message with mail
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 17, 2024
1 parent 46eb6fb commit 806b205
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions assets/images/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/additionals/patches/application_controller_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module ApplicationControllerPatch

module InstanceMethods
def render_flash_mail(mail, name = nil)
content = "#{name} <span class=\"icon icon-email\">#{mail}</span>"
content = "#{name} (#{mail})"
return content if name.blank?

"#{name} #{content}"
Expand Down

0 comments on commit 806b205

Please sign in to comment.