X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e9ad6d852c437a00e6cf9f0f529525a3b33d9901..81bac0b09b2d03de76c8885f6d77c9297a3ead34:/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 24587a6e3..40af762d7 100644 --- a/app/views/user_mailer/friendship_notification.html.erb +++ b/app/views/user_mailer/friendship_notification.html.erb @@ -1,9 +1,11 @@ +

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

+

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

<%= message_body do %> -

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

+

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

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

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

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

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

<% end -%> <% end %>