X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a22c3525e48872e7f7f083ba6589ca659a13234b..6f4f4b4d711d9534756e8d828710bcdef3c9be65:/app/views/notifier/friend_notification.html.erb?ds=sidebyside diff --git a/app/views/notifier/friend_notification.html.erb b/app/views/notifier/friend_notification.html.erb index 181b2b825..f6774f2dc 100644 --- a/app/views/notifier/friend_notification.html.erb +++ b/app/views/notifier/friend_notification.html.erb @@ -1,7 +1,9 @@ -
<%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %>
+<%= t '.had_added_you', :user => @friend.befriender.display_name %>
-<%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %>
+<%= message_body do %> +<%= raw t '.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %>
-<% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%> -<%= raw t 'notifier.friend_notification.befriend_them', :befriendurl => link_to(@friendurl, @friendurl) %>
-<% end -%> + <% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%> +<%= raw t '.befriend_them', :befriendurl => link_to(@friendurl, @friendurl) %>
+ <% end -%> +<% end %>