feat: display talent rank with roman numerals in character sheet

This commit is contained in:
Johannes Loher 2022-11-10 04:00:48 +01:00
parent 1e7492073e
commit e89f03f81d
2 changed files with 61 additions and 1 deletions

View file

@ -18,7 +18,7 @@ SPDX-License-Identifier: MIT
{{#each itemsByType.talent as |itemData id|}}
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData}}
{{!-- rank --}}
<div>{{itemData.data.rank.total}}</div>
<div>{{toRomanNumerals itemData.data.rank.total}}</div>
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
{{/each}}
</ol>