mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Templates for tip emails
This commit is contained in:
parent
b556795f78
commit
f6550555b0
2 changed files with 36 additions and 0 deletions
18
views/templates/email/tip_received.erb
Normal file
18
views/templates/email/tip_received.erb
Normal file
|
@ -0,0 +1,18 @@
|
|||
<% if @tip.actioning_site %>
|
||||
You have received a <%= @tip.amount_string %> tip from <%= @tip.actioning_site.username %> (<%= @tip.actioning_site.uri %>)!
|
||||
<% else %>
|
||||
You have received a <%= @tip.amount_string %> tip!
|
||||
<% end %> It has been deposited into your Paypal account (<%= @tip.paypal_receiver_email %>).
|
||||
|
||||
You can see the tip on your site profile at https://neocities.org/site/<%= @tip.site.username %>
|
||||
|
||||
Neocities doesn't take a cut of the tips sent to sites. Almost all of the donation (minus any transaction fees) will go directly to you.
|
||||
|
||||
<% if @tip.site.supporter? %>
|
||||
Lastly, thank you very much for being a supporter! You help makes this possible.
|
||||
<% else %>
|
||||
We fund Neocities through supporter accounts. If you're feeling tipsy yourself, consider signing up to be a Neocities supporter: https://neocities.org/supporter
|
||||
<% end %>
|
||||
|
||||
Cheers!
|
||||
The Neocities Team
|
18
views/templates/email/tip_sent.erb
Normal file
18
views/templates/email/tip_sent.erb
Normal file
|
@ -0,0 +1,18 @@
|
|||
You are awesome! You just sent a <%= @tip.amount_string %> tip to <%= @tip.site.username %> (<%= @tip.site.uri %>)!
|
||||
|
||||
Neocities doesn't take a cut of the tips sent to sites. Almost all of your donation (minus any transaction fees) will go directly to the site itself!
|
||||
|
||||
You can see the tip on your site profile at https://neocities.org/site/<%= @tip.site.username %>
|
||||
|
||||
When you tip sites on Neocities, you help them to continue to build awesome stuff. On behalf of all the great sites on Neocities, thank you!
|
||||
|
||||
If you're feeling tipsy, there's a lot of other great sites on Neocities! Check them all out at https://neocities.org/browse.
|
||||
|
||||
<% if @tip.actioning_site && @tip.actioning_site.supporter? %>
|
||||
Lastly, thank you very much for being a supporter! You help makes this possible.
|
||||
<% else %>
|
||||
Also, we fund Neocities through supporter accounts. Consider signing up to be a Neocities supporter! https://neocities.org/supporter
|
||||
<% end %>
|
||||
|
||||
Cheers!
|
||||
The Neocities Team
|
Loading…
Add table
Reference in a new issue