habitica/views/shared/modals/rebirth.jade
2014-01-24 22:49:36 +01:00

46 lines
1.6 KiB
Text

// Created by Sabe on 12/22/13.
div(modal='modals.rebirthEnabled')
.modal-header
h3=env.t('rebirthNew')
.modal-body
.rebirth_orb.pull-left(style='margin-right: 5px')
p
span=env.t('rebirthUnlock')
.modal-footer
button.btn.btn-default.cancel(ng-click='modals.rebirthEnabled = false')=env.t('close')
div(modal='modals.rebirth')
.modal-header
h3=env.t('rebirthBegin')
.modal-body
include ../gems
.rebirth_orb.pull-left(style='margin-right: 5px')
p=env.t('rebirthStartOver')
br
.unordered
li=env.t('rebirthAdvList1')
li=env.t('rebirthAdvList2')
li=env.t('rebirthAdvList3')
li=env.t('rebirthAdvList4')
br
p=env.t('rebirthInherit')
.unordered
li=env.t('rebirthInList1')
li=env.t('rebirthInList2')
li=env.t('rebirthInList3')
li=env.t('rebirthInList4')
li=env.t('rebirthInList5')
br
.achievement-sun.pull-left(style='margin-right: 5px')
p=env.t('rebirthEarnAchievement')
.modal-footer
button.btn.btn-large.cancel(ng-click='modals.rebirth = false')=env.t('neverMind')
span(ng-if='user.balance < 2')
a.btn.btn-success.btn-large(ng-click="modals.buyGems = true")=env.t('buyMoreGems')
span.gem-cost=env.t('notEnoughGems')
span(ng-if='user.balance >= 2', ng-controller='SettingsCtrl')
a.btn.btn-danger.btn-large(ng-click='rebirth()')=env.t('beReborn')
span.gem-cost
| 8&nbsp;
=env.t('gems')