X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/433b7c5dfae0afa72058c2aaf236859998a2175a..a520f1251cf06be665d93037c74116a9f769fbf1:/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 356aca0aa..cfea97195 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 %>

-<%= render "notifier/user_message_table", :captured => capture { %> +<%= message_body do %>

<%= raw t 'notifier.friend_notification.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 -%> -<% } %> +<% end %>