2015-07-18 20:24:32 +00:00
|
|
|
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 + '}}'
|
|
|
|
|
|
2015-07-18 20:57:25 +00:00
|
|
|
include ./stats/basic-stats
|
|
|
|
|
include ./stats/equipment
|
|
|
|
|
include ./stats/attributes
|
|
|
|
|
include ./stats/pets-and-mounts
|