]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/friend_notification.html.erb
Add HTML version of friend notification email
[rails.git] / 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
new file mode 100644 (file)
index 0000000..181b2b8
--- /dev/null
@@ -0,0 +1,7 @@
+<p><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p>
+
+<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 -%>