diff --git a/app.rb b/app.rb index f042de8d..c48c3019 100644 --- a/app.rb +++ b/app.rb @@ -309,7 +309,7 @@ post '/plan/update' do reply_to: 'contact@neocities.org', to: current_site.email || parent_site.email, subject: "[Neocities] You've become a supporter!", - body: Tilt.new('./views/templates/email_subscription.erb', pretty: true).render(self, plan_name: Site::PLAN_FEATURES[params[:plan_type].to_sym][:name]) + body: Tilt.new('./views/templates/email_subscription.erb', pretty: true).render(self, plan_name: Site::PLAN_FEATURES[params[:plan_type].to_sym][:name], plan_space: Site::PLAN_FEATURES[params[:plan_type].to_sym][:space].to_space_pretty) }) end diff --git a/views/_news.erb b/views/_news.erb index 391e63d7..ab64dbb9 100644 --- a/views/_news.erb +++ b/views/_news.erb @@ -50,7 +50,6 @@ <%= event_site.title.shorten(45) %> has been updated. <% end %> - <% binding.pry %> <%= event.created_at.ago %> diff --git a/views/templates/email_subscription.erb b/views/templates/email_subscription.erb index 5c1e18f9..26524ece 100644 --- a/views/templates/email_subscription.erb +++ b/views/templates/email_subscription.erb @@ -1,6 +1,6 @@ Hi there! -We just wanted to email you to confirm your supporter upgrade! You are on the <%= plan_name %> support tier. You now have <%= Site::SUPPORTER_MAXIMUM.to_space_pretty %> of space (and we're likely to upgrade this even more soon). We're looking forward to seeing the awesome things you will do with it. +We just wanted to email you to confirm your supporter upgrade! You are on the <%= plan_name %> support tier. You now have <%= plan_space %> of space (and we're likely to upgrade this even more soon). We're looking forward to seeing the awesome things you will do with it. Thank you very, very much for supporting Neocities. It means a lot to us. It also helps us keep the free tier for others, so your support helps everyone. We'll try our hardest to keep improving the site and stick to our core values (NO MARKETING OR ADVERTISING, EVER).