habitica/views/shared/modals/rebirth.jade
2014-02-09 16:16:43 +01:00

51 lines
1.4 KiB
Text

// Created by Sabe on 12/22/13.
script(type='text/ng-template', id='modals/rebirthEnabled.html')
.modal-header
h4=env.t('rebirthNew')
.modal-body
figure
.rebirth_orb
p
span=env.t('rebirthUnlock')
.modal-footer
button.btn.btn-default(ng-click='$close()')=env.t('close')
script(type='text/ng-template', id='modals/rebirth.html')
.modal-header
h4=env.t('rebirthBegin')
.modal-body
include ../gems
figure
.rebirth_orb
p=env.t('rebirthStartOver')
br
ul.list-unstyled
li=env.t('rebirthAdvList1')
li=env.t('rebirthAdvList2')
li=env.t('rebirthAdvList3')
li=env.t('rebirthAdvList4')
br
p=env.t('rebirthInherit')
ul.list-unstyled
li=env.t('rebirthInList1')
li=env.t('rebirthInList2')
li=env.t('rebirthInList3')
li=env.t('rebirthInList4')
li=env.t('rebirthInList5')
br
p
span.vertical-align.inline-block.achievement-sun
| 
=env.t('rebirthEarnAchievement')
.modal-footer
button.btn.btn-default(ng-click='$close()')=env.t('neverMind')
span(ng-if='user.balance < 2')
a.btn.btn-success(ng-click='openModal("buyGems")')=env.t('buyMoreGems')
span.gem-cost=env.t('notEnoughGems')
span(ng-if='user.balance >= 2', ng-controller='SettingsCtrl')
a.btn.btn-danger(ng-click='$close(); rebirth()')=env.t('beReborn')
span.gem-cost
| 8&nbsp;
=env.t('gems')