<% content_for :body do %>

<%= 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) %>

<% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%>

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

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