Skip to content

Commit

Permalink
Added greeting to friendship notification
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nenad-vujicic committed Sep 17, 2024
1 parent 2fd2317 commit 091bf88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/user_mailer/friendship_notification.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<p><%= t ".hi", :to_user => @friendship.befriendee.display_name %></p>

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

<%= message_body do %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/user_mailer/friendship_notification.text.erb
Original file line number Diff line number Diff line change
@@ -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 %>
Expand Down

0 comments on commit 091bf88

Please sign in to comment.