Move stats to separate partials

This commit is contained in:
Blade Barringer
2015-07-18 15:57:25 -05:00
parent 9994b27f1e
commit 4cff85784d
5 changed files with 61 additions and 57 deletions
@@ -0,0 +1,7 @@
h4(class=mobile?'item item-divider':'')=env.t('stats')
table.table.table-striped
+basicRow('health', '{{::statCalc.hpDisplay(profile.stats.hp)}}')
+basicRow('mana', '{{statCalc.mpDisplay(profile)}}')(ng-if='profile.stats.lvl >= 10 && !profile.preferences.disableClasses')
+basicRow('gold', '{{::statCalc.goldDisplay(profile.stats.gp)}}')
+basicRow('level', '{{::profile.stats.lvl}}')
+basicRow('experience', '{{::statCalc.expDisplay(profile)}}')