Skip to content
Extraits de code Groupes Projets
Valider 20a5ec86 rédigé par maxwell's avatar maxwell
Parcourir les fichiers

small bugfixes for the mailer

parent 5701c3a8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -5,6 +5,6 @@ class Notifier < ActionMailer::Base ...@@ -5,6 +5,6 @@ class Notifier < ActionMailer::Base
@receiver = recipient @receiver = recipient
@sender = sender @sender = sender
mail(:to => "#{recipient.real_name} <#{recipient.email}>", mail(:to => "#{recipient.real_name} <#{recipient.email}>",
:subject => "new friend request from #{@sender.inspect}") :subject => "new Diaspora* friend request from #{@sender.real_name}")
end end
end end
...@@ -51,8 +51,9 @@ ...@@ -51,8 +51,9 @@
= "#{@sender.real_name} (#{@sender.diaspora_handle})" = "#{@sender.real_name} (#{@sender.diaspora_handle})"
just sent you a friend request on Diaspora* just sent you a friend request on Diaspora*
You should really think about checking it out. You should really think about checking it out.
%br
= link_to "sign in here", new_user_session_path = link_to "sign in here", new_user_session_url
%br
love, love,
%br
the diaspora email robot the diaspora email robot
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
just sent you a friend request on Diaspora* just sent you a friend request on Diaspora*
You should really think about checking it out. You should really think about checking it out.
= "sign in here: #{new_user_session_path}" = "sign in here: #{new_user_session_url}"
love, love,
the diaspora email robot the diaspora email robot
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter