6f2767edd3
* separate stats and achievs tabs, move 'enable class system' button to stats * move stats layout stuff from profile.jade to stats.jade * shuffle stats page into more columns * separate stats and achievs in expandable navbar submenus * add multiple options for stats.jade: col1, col2, all; fixes weirdly crowded members modal * make stats and achievs strings consistent * remove mobile checks in profile.jade * fix merge issue
14 lines
477 B
Plaintext
14 lines
477 B
Plaintext
mixin basicRow(label, value)
|
|
tr&attributes(attributes)
|
|
td
|
|
strong=env.t(label)
|
|
| : #{value}
|
|
|
|
mixin statList(calculatedStat, popover, text, useOneTimeBinding)
|
|
- var binding = useOneTimeBinding ? "::" : ""
|
|
li(ng-if=binding + '#{calculatedStat} > 0')
|
|
span.hint(popover-title=env.t('#{popover}'), popover-trigger='mouseenter',
|
|
popover-placement='top', popover=env.t('#{popover}Text'))
|
|
=env.t(text)
|
|
=': {{' + binding + calculatedStat + '}}'
|