refactor(bs3): port rebirth and reroll modals, misc fixes

This commit is contained in:
Matteo Pagliazzi
2014-02-02 13:52:42 +01:00
parent 211be37cfc
commit 3e077fea6d
5 changed files with 13 additions and 14 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
// Re-Roll modal
//div(modal='modals.reroll')
script(type='text/ng-template', id='modals/reroll.html')
.modal-header
h3=env.t('fortify')
@@ -8,12 +7,12 @@ script(type='text/ng-template', id='modals/reroll.html')
p=env.t('fortifyText')
.modal-footer
button.btn.btn-large.cancel(ng-click='modals.reroll = false')=env.t('neverMind')
button.btn.btn-large.cancel(ng-click='$close()')=env.t('neverMind')
span(ng-if='user.balance < 1')
a.btn.btn-success.btn-large(ng-click='openModal("buyGems")')=env.t('buyMoreGems')
span.gem-cost=env.t('notEnoughGems')
span(ng-if='user.balance >= 1', ng-controller='SettingsCtrl')
a.btn.btn-danger.btn-large(ng-click='reroll()')=env.t('fortify')
a.btn.btn-danger.btn-large(ng-click='$close(); reroll()')=env.t('fortify')
span.gem-cost
| 4&nbsp;
= env.t('gems')