From a995d250f10cb170f25a18f96d7384ee549a9faf Mon Sep 17 00:00:00 2001 From: danielvincent Date: Tue, 2 Nov 2010 17:19:49 -0700 Subject: [PATCH] added white text on grey asset to mailer --- app/mailers/notifier.rb | 4 ++-- app/views/notifier/new_request.html.haml | 2 +- app/views/notifier/request_accepted.html.haml | 2 +- public/images/diaspora_white_on_grey.png | Bin 0 -> 1112 bytes 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 public/images/diaspora_white_on_grey.png diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb index c0626f387..3e90576f1 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 66bb56f1a..d87a7c387 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 191f8f42c..f3359e6ac 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 GIT binary patch literal 1112 zcmeAS@N?(olHy`uVBq!ia0y~yV2S{;H8_}oq$q0%8<0u}@Ck8c0|PNIPzM8JFmMNh za4^UKgUYH(AZi1HX<)Dd47P*8@#Dv@U%&qH<;(BizcX|*OkkMGFpFV6!;-*rC9@b9 zm^XX6IEGZrc{?k+`>BS2gR6^+3X9;zHUIzHUr)dC<*d%>ZC`wroonCcsq^}qD!cqt z15W|z1pB}I0`FUnC~b2{5{y>Z*r7Wi;)s}sP7=3@*hW^N?i);Cx7AVWfwjOMfe9^joVkXZ1ME1k*zD9Pq@Npr&^K_`{Dk- z#~t$@>rFeMq8+m4@)ZH^g%%5rw=S7DrRnOs6Y8>(ymc_>Ocb0iRd@GbRYqq!3ylL^DE!_Wn{NuDHsOUw~%!qfp^NJOc-49&I_P;A7 zJz4u-*hH(pGD(Y`&KKgk^eWb-TXnji_6;Mx!i-x_qMF{eYMW?H47u#dZ#^}{cwJw_ zy;O$ZQ_B54_H?IjqFVC=E^g6$pX~I=)~0Lgm5n0vWaXDt z#2uHOl5^!@YrNNsd*-({MZC%IUbVdCNOXk=cTMJ|wX=>^IQJZCJmbIi^Zlojo)lJH zs<~oX#h)1N_+L@+qmbN@OALE@OhVU~Gsrb<>Y~#62 zd%F+5`c|nk&KUM&1{pU2l3Yi5GwwLi?9+X9^K-%vLO78MMhu6{1- HoD!M<)j#{z literal 0 HcmV?d00001