Skip to content

email invitation draft

bill-auger edited this page Oct 29, 2014 · 1 revision

TENTATIVE DRAFT OF EMAIL INVITATION

%h4 Hello, #{@user.display_name}!

%p You have just been offered #{btc_human @tip.amount} in bitcoins for your recent contribution(s) to the #{@tip.project.full_name} project. If you would care to decline the offer then you need do nothing; simply ignore this message. If you would like to claim your reward simply #{link_to 'sign in to tip4commit.com', login_users_url(token: @user.login_token)} and associate a bitcoin address with your email address and you will receive the bitcoins upon the next cron job.

%p Your current balance is #{btc_human @user.balance}. All tip offers are automatically revoked after 30 days unless you have a bitcoin address associated with your email address on tip4commit.

%p If you don't need the bitcoins, you can redirect your funds to a charity by using its address, which you can find at #{link_to 'coingiving.com', 'https://coingiving.com/'}.

%p= link_to 'Sign In', login_users_url(token: @user.login_token)

%p Thanks for contributing to Open Source!

%p= link_to "Read more about the tip4commit service here", "https://tip4commit.com/about.html"

%p %small = link_to "Don't notify me anymore, I don't need tips.", login_users_url(token: @user.login_token, unsubscribe: true)

Clone this wiki locally