]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/friend_notification.html.erb
merging master into html-mail-fixes
[rails.git] / app / views / notifier / friend_notification.html.erb
index 356aca0aae4cbbabf2ab0733df5b50f670433aa6..cfea971958452e8e7a69dfebd1b3a8a56390ee51 100644 (file)
@@ -1,9 +1,9 @@
 <p><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p>
 
-<%= render "notifier/user_message_table", :captured => capture { %>
+<%= message_body do %>
   <p><%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %></p>
 
   <% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%>
   <p><%= raw t 'notifier.friend_notification.befriend_them', :befriendurl => link_to(@friendurl, @friendurl) %></p>
   <% end -%>
-<% } %>
+<% end %>