diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb index c0626f387cbab6c94e0142da2ad0451cf1b4b414..3e90576f17b1acaa882bae9515a46561afa01bb1 100644 --- a/app/mailers/notifier.rb +++ b/app/mailers/notifier.rb @@ -2,12 +2,12 @@ class Notifier < ActionMailer::Base include Magent::Async default :from => "no-reply@joindiaspora.com" - ATTACHMENT = File.read("#{Rails.root}/public/images/diaspora_caps.png") + ATTACHMENT = File.read("#{Rails.root}/public/images/diaspora_white_on_grey.png") def new_request(recipient, sender) @receiver = recipient @sender = sender - attachments["diaspora_white.png"] = ATTACHMENT + attachments["diaspora_white_on_grey.png"] = ATTACHMENT mail(:to => "#{recipient.real_name} <#{recipient.email}>", :subject => "new Diaspora* friend request from #{@sender.real_name}", :host => APP_CONFIG[:terse_pod_url]) diff --git a/app/views/notifier/new_request.html.haml b/app/views/notifier/new_request.html.haml index 66bb56f1a162a998de7c1c02f970c103d157b984..d87a7c387074e8a6f86dcd19d4c65e073a3c04aa 100644 --- a/app/views/notifier/new_request.html.haml +++ b/app/views/notifier/new_request.html.haml @@ -43,7 +43,7 @@ } %body %header - = image_tag 'diaspora_white.png' + = image_tag attachments['diaspora_white_on_grey.png'], :alt => "DIASPORA" #container %p Hello #{@receiver.profile.first_name}! diff --git a/app/views/notifier/request_accepted.html.haml b/app/views/notifier/request_accepted.html.haml index 191f8f42ce292af096106632686c0af541c474a7..f3359e6ac2eb6943826d42799424bec57f9e20cf 100644 --- a/app/views/notifier/request_accepted.html.haml +++ b/app/views/notifier/request_accepted.html.haml @@ -43,7 +43,7 @@ } %body %header - = image_tag 'diaspora_white.png' + = image_tag attachments['diaspora_white_on_grey.png'], :alt => "DIASPORA" #container %p Hello #{@receiver.profile.first_name}! diff --git a/public/images/diaspora_white_on_grey.png b/public/images/diaspora_white_on_grey.png new file mode 100644 index 0000000000000000000000000000000000000000..6213e06712dd37b1c841e55ef4dc7bd85d1e778f Binary files /dev/null and b/public/images/diaspora_white_on_grey.png differ