X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/75f96fcc9a8f07828d6dc2f487bb00307de7a94f..c94213847b8e5b71864b34748ba9fadaefbfddfe:/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 3f260dc92..91de4b732 100644 --- a/app/views/notifier/friend_notification.html.erb +++ b/app/views/notifier/friend_notification.html.erb @@ -1,11 +1,9 @@ -<% content_for :body do %> -

<%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %>

+

<%= t 'notifier.friend_notification.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) %>

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

<%= 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 %> + <% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%> +

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

+ <% end -%> +<% } %>