Browse Source

Fixed an issue with images in emails

development
Godwin 11 years ago
parent
commit
5cda474387
  1. 2
      app/views/user_mailer/conference_registration_confirmed_email.html.haml
  2. 2
      app/views/user_mailer/conference_registration_email.html.haml

2
app/views/user_mailer/conference_registration_confirmed_email.html.haml

@ -1,4 +1,4 @@
%img{src: "#{@url}/#{@conference.poster.full.url}", style: "max-width: 100%;"}
%img{src: "#{@conference.poster.full.url}", style: "max-width: 100%;"}
%div{style: 'padding: 25px'}
%h1=_'register.email.registration_confirmed.thank_you',"Hi #{@data[:user][:username]}, thank you for completing your registration. We'll see you at Bike!Bike!"
%h2=_'register.email.registration_confirmed.please_pay',"If you have not already done so, we ask that you pay the registration donation as soon as you can. At your convenience please visit the link below."

2
app/views/user_mailer/conference_registration_email.html.haml

@ -1,4 +1,4 @@
%img{src: "#{@url}/#{@conference.poster.full.url}", style: "max-width: 100%;"}
%img{src: "#{@conference.poster.full.url}", style: "max-width: 100%;"}
%div{style: 'padding: 25px'}
%h1=_'register.email.registration.please_confirm',"Hi #{@data[:user][:username]}, please confirm your registration for #{@conference.title}", vars: {:username => @data[:user][:username]}
%div{style: 'text-align:center'}

Loading…
Cancel
Save