habitica-self-host/views/shared/modals/reroll.jade

21 lines
894 B
Text
Raw Normal View History

// Re-Roll modal
div(modal='modals.reroll')
.modal-header
h3 Fortify: Back to Yellow
.modal-body
include ../gems
p.
Fortify will return all your tasks to a neutral (yellow) state, as if you'd just added them, and top your Health
off to full. 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
button.btn.btn-large.cancel(ng-click='modals.reroll = false') Never mind
span(ng-if='user.balance < 1')
2013-10-12 23:47:49 +00:00
a.btn.btn-success.btn-large(ng-click="modals.buyGems = true") Buy More Gems
span.gem-cost Not enough Gems
span(ng-if='user.balance >= 1', ng-controller='SettingsCtrl')
a.btn.btn-danger.btn-large(ng-click='reroll()') Fortify
span.gem-cost 4 Gems