X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad9f0b624728259fbe17f7b631d3efef5a488d3b..ca4ee6faa9378e7610356e36cbd4931a2657eeed:/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 %>