habitica/views/shared/modals/reroll.jade
Tyler Renelle 7bfaac80a7 rewrite2 big one: add ngRoute for /#/tasks & /#/options. requires 2
/partial routes on server. code cleanup & reorganization, remove a lot
of return statements (coffeescript compiled)
2013-08-27 21:13:05 -04:00

19 lines
801 B
Text

// Re-Roll modal
div(modal='modals.reroll')
.modal-header
h3 Reset Your Tasks
.modal-body
include ../gems
p.
Purchasing a Re-Roll will reset all your tasks to a neutral (yellow) state, as if you'd just added them. Consider
this an option of last resort, red tasks provide good incentive to improve. But if all that red fills you with
despair, and the beginning of each new day proves lethal, spend the Gems and catch a reprieve!
.modal-footer
span(ng-if='user.balance < 1')
a.btn.btn-success.btn-large(data-dismiss="modal", x-bind="click:showStripe") Buy More Gems
span.gem-cost Not enough Gems
span(ng-if='user.balance >= 1')
a.btn.btn-danger.btn-large(data-dismiss="modal", x-bind='click:buyReroll') Re-Roll
span.gem-cost 4 Gems