X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae00fa84c8f981e909c61ab31b6115bb96e859cc..84a9d7117dbf2563e734e14e69b4dbacb17f67e6:/app/views/user_mailer/friendship_notification.html.erb?ds=sidebyside diff --git a/app/views/user_mailer/friendship_notification.html.erb b/app/views/user_mailer/friendship_notification.html.erb index 40af762d7..16ddcad49 100644 --- a/app/views/user_mailer/friendship_notification.html.erb +++ b/app/views/user_mailer/friendship_notification.html.erb @@ -1,11 +1,11 @@ -

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

+

<%= t ".hi", :to_user => @follow.following.display_name %>

-

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

+

<%= t ".followed_you", :user => @follow.follower.display_name %>

<%= message_body do %>

<%= t ".see_their_profile_html", :userurl => link_to(@viewurl, @viewurl) %>

- <% unless @friendship.befriendee.friends_with?(@friendship.befriender) -%> -

<%= t ".befriend_them_html", :befriendurl => link_to(@friendurl, @friendurl) %>

+ <% unless @follow.following.friends_with?(@follow.follower) -%> +

<%= t ".follow_them_html", :followurl => link_to(@followurl, @followurl) %>

<% end -%> <% end %>