From: Nenad Vujicic Date: Tue, 17 Sep 2024 21:20:41 +0000 (+0200) Subject: Added greeting to friendship notification X-Git-Tag: live~292^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/091bf88a5ff32363e9d4cc67804be074fdf501a1 Added greeting to friendship notification Added greeting 'Hi {user display name},' to friendship notification email. As a side effect, user_mailer.friendship_notification.hi is not anymore reported as unused. --- diff --git a/app/views/user_mailer/friendship_notification.html.erb b/app/views/user_mailer/friendship_notification.html.erb index ee2dea2eb..40af762d7 100644 --- a/app/views/user_mailer/friendship_notification.html.erb +++ b/app/views/user_mailer/friendship_notification.html.erb @@ -1,3 +1,5 @@ +

<%= t ".hi", :to_user => @friendship.befriendee.display_name %>

+

<%= t ".had_added_you", :user => @friendship.befriender.display_name %>

<%= message_body do %> diff --git a/app/views/user_mailer/friendship_notification.text.erb b/app/views/user_mailer/friendship_notification.text.erb index 22c2bbfe7..104b0f1c9 100644 --- a/app/views/user_mailer/friendship_notification.text.erb +++ b/app/views/user_mailer/friendship_notification.text.erb @@ -1,3 +1,5 @@ +<%= t ".hi", :to_user => @friendship.befriendee.display_name %> + <%= t '.had_added_you', :user => @friendship.befriender.display_name %> <%= t '.see_their_profile', :userurl => @viewurl %>