better wording on buying tokens

This commit is contained in:
Tyler Renelle 2013-03-28 00:49:57 -07:00
parent 88badc4929
commit d2b4072ad6
2 changed files with 7 additions and 2 deletions

View file

@ -20,12 +20,14 @@ module.exports.app = (appExports, model) ->
.error (err) ->
alert err.responseText
disableAds = if (model.get('_user.flags.ads') is 'hide') then '' else 'Disable Ads, '
StripeCheckout.open
key: model.get('_stripePubKey')
address: false
amount: 500
name: "Checkout"
description: "Purchase 20 Tokens, Disable Ads."
description: "Buy 20 Tokens, #{disableAds}Support the Developers"
panelLabel: "Checkout"
token: token

View file

@ -32,7 +32,7 @@
<!-- Buy more tokens modal -->
<app:modals:modal modalId='more-tokens-modal' header="Out Of Tokens">
<app:rewards:userTokens/>
<p>You're out of tokens, which are used to buy pets and mounts.</p>
<p>Oops, out of tokens, which are used to buy special items! Habit is an open source project, and can use all the help it can get - buy more tokens to receive this pet, and consider it a donation to the contributors</p>
<@footer>
<a data-dismiss="modal" x-bind="click:showStripe" class="btn btn-success btn-large">Buy More Tokens</a><span class='token-cost'>Not enough tokens</span>
</@footer>
@ -42,6 +42,9 @@
<p>
Habit an open source project, and can use all the help it can get - consider this a donation to the contributors. You also get 20 tokens from the purchase, which you can use to buy special items.
</p>
<p>
"Hey, I backed the Kickstarter!" - follow <a target="_blank" href="http://community.habitrpg.com/node/22">these instructions</a>.
</p>
<@footer>
<button data-dismiss="modal" class="btn btn-success">Ok</button>
</@footer>