2013-12-22 14:32:39 +00:00
|
|
|
// Created by Sabe on 12/22/13.
|
|
|
|
|
|
2014-01-29 21:18:13 +00:00
|
|
|
//div(modal='modals.rebirthEnabled')
|
|
|
|
|
script(type='text/ng-template', id='modals/rebirthEnabled.html')
|
2013-12-22 14:32:39 +00:00
|
|
|
.modal-header
|
2014-01-22 18:04:28 +00:00
|
|
|
h3=env.t('rebirthNew')
|
2013-12-22 14:32:39 +00:00
|
|
|
.modal-body
|
2013-12-24 15:57:04 +00:00
|
|
|
.rebirth_orb.pull-left(style='margin-right: 5px')
|
2013-12-22 14:32:39 +00:00
|
|
|
p
|
2014-01-22 18:04:28 +00:00
|
|
|
span=env.t('rebirthUnlock')
|
2013-12-22 14:32:39 +00:00
|
|
|
.modal-footer
|
2014-01-22 18:04:28 +00:00
|
|
|
button.btn.btn-default.cancel(ng-click='modals.rebirthEnabled = false')=env.t('close')
|
2013-12-22 14:32:39 +00:00
|
|
|
|
2014-01-29 21:18:13 +00:00
|
|
|
//div(modal='modals.rebirth')
|
|
|
|
|
script(type='text/ng-template', id='modals/rebirth.html')
|
2013-12-22 14:32:39 +00:00
|
|
|
.modal-header
|
2014-01-22 18:04:28 +00:00
|
|
|
h3=env.t('rebirthBegin')
|
2013-12-22 14:32:39 +00:00
|
|
|
.modal-body
|
|
|
|
|
include ../gems
|
2013-12-24 15:57:04 +00:00
|
|
|
.rebirth_orb.pull-left(style='margin-right: 5px')
|
2014-01-22 18:04:28 +00:00
|
|
|
p=env.t('rebirthStartOver')
|
2013-12-24 15:57:04 +00:00
|
|
|
br
|
|
|
|
|
.unordered
|
2014-01-22 18:04:28 +00:00
|
|
|
li=env.t('rebirthAdvList1')
|
|
|
|
|
li=env.t('rebirthAdvList2')
|
|
|
|
|
li=env.t('rebirthAdvList3')
|
|
|
|
|
li=env.t('rebirthAdvList4')
|
2013-12-24 15:57:04 +00:00
|
|
|
br
|
2014-01-22 18:04:28 +00:00
|
|
|
p=env.t('rebirthInherit')
|
2013-12-25 00:09:32 +00:00
|
|
|
.unordered
|
2014-01-22 18:04:28 +00:00
|
|
|
li=env.t('rebirthInList1')
|
|
|
|
|
li=env.t('rebirthInList2')
|
|
|
|
|
li=env.t('rebirthInList3')
|
|
|
|
|
li=env.t('rebirthInList4')
|
2014-01-23 02:45:04 +00:00
|
|
|
li=env.t('rebirthInList5')
|
2013-12-25 00:09:32 +00:00
|
|
|
br
|
|
|
|
|
.achievement-sun.pull-left(style='margin-right: 5px')
|
2014-01-22 18:04:28 +00:00
|
|
|
p=env.t('rebirthEarnAchievement')
|
2013-12-22 14:32:39 +00:00
|
|
|
.modal-footer
|
2014-01-22 18:04:28 +00:00
|
|
|
button.btn.btn-large.cancel(ng-click='modals.rebirth = false')=env.t('neverMind')
|
2013-12-25 00:09:32 +00:00
|
|
|
span(ng-if='user.balance < 2')
|
2014-02-01 18:19:48 +00:00
|
|
|
a.btn.btn-success.btn-large(ng-click='openModal("buyGems")')=env.t('buyMoreGems')
|
2014-01-22 18:04:28 +00:00
|
|
|
span.gem-cost=env.t('notEnoughGems')
|
2013-12-25 00:09:32 +00:00
|
|
|
span(ng-if='user.balance >= 2', ng-controller='SettingsCtrl')
|
2014-01-22 18:04:28 +00:00
|
|
|
a.btn.btn-danger.btn-large(ng-click='rebirth()')=env.t('beReborn')
|
2014-01-24 21:49:36 +00:00
|
|
|
span.gem-cost
|
|
|
|
|
| 8
|
|
|
|
|
=env.t('gems')
|