X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c94213847b8e5b71864b34748ba9fadaefbfddfe..281d7992f857e7e7c64947a06470898c35035bb6:/app/views/notifier/friend_notification.html.erb diff --git a/app/views/notifier/friend_notification.html.erb b/app/views/notifier/friend_notification.html.erb index 91de4b732..083f8d3fc 100644 --- a/app/views/notifier/friend_notification.html.erb +++ b/app/views/notifier/friend_notification.html.erb @@ -1,9 +1,9 @@ -
<%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %>
+<%= t ".had_added_you", :user => @friend.befriender.display_name %>
-<%= render "notifier/user_message_table", :captured => capture { %> -<%= 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) %>
+<%= raw t ".befriend_them", :befriendurl => link_to(@friendurl, @friendurl) %>
<% end -%> -<% } %> +<% end %>