X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/78dd142df4057315c236b2186d4860c59f0373c9..84a9d7117dbf2563e734e14e69b4dbacb17f67e6:/app/views/user_mailer/friendship_notification.html.erb diff --git a/app/views/user_mailer/friendship_notification.html.erb b/app/views/user_mailer/friendship_notification.html.erb index 0f2353150..16ddcad49 100644 --- a/app/views/user_mailer/friendship_notification.html.erb +++ b/app/views/user_mailer/friendship_notification.html.erb @@ -1,9 +1,11 @@ -

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

+

<%= t ".hi", :to_user => @follow.following.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.is_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 %>