mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
18 lines
591 B
Text
18 lines
591 B
Text
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 + '}}'
|
|
|
|
include ./stats/basic-stats
|
|
include ./stats/equipment
|
|
include ./stats/attributes
|
|
include ./stats/pets-and-mounts
|