mirror of
https://github.com/neocities/neocities.git
synced 2025-06-15 17:04:34 +02:00
Clean up supporter upgrade email, closes #80
This commit is contained in:
parent
d085a99ddc
commit
3f67a37a09
2 changed files with 11 additions and 7 deletions
|
@ -76,7 +76,13 @@ post '/plan/update' do
|
|||
else
|
||||
site.send_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], plan_space: Site::PLAN_FEATURES[params[:plan_type].to_sym][:space].to_space_pretty)
|
||||
body: Tilt.new('./views/templates/email_subscription.erb', pretty: true).render(
|
||||
self, {
|
||||
username: site.username,
|
||||
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,
|
||||
plan_bw: Site::PLAN_FEATURES[params[:plan_type].to_sym][:bandwidth].to_space_pretty
|
||||
})
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
Hi there!
|
||||
Hi <%= username %>,
|
||||
|
||||
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.
|
||||
We're writing to confirm your upgrade to the <%= plan_name %> Plan. You now have <%= plan_space %> of space, <%= plan_bw %> of bandwidth, multiple site creation, and a lot of other great features. We look forward to seeing the awesome things you'll 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).
|
||||
Thank you very much for supporting Neocities. It allows us to continue offering our free plan to everyone who wants one and helps fund further development.
|
||||
|
||||
If you have any questions or comments, or just want to say hi, feel free to contact us at https://neocities.org/contact. You can also reach us on Twitter at @neocitiesweb.
|
||||
|
||||
From Penelope (the Neocities' cat), the Neocities Team, and on behalf of all our sites, our very best wishes for you (and your awesome web site).
|
||||
|
||||
- The Neocities Team
|
||||
— The Neocities Team
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue