Multiple instances of the same proficiency are now merged

For tool/language/weapon/armour proficiencies, on the stats/persona page.
This commit is contained in:
Jacob
2017-07-18 22:33:28 +01:00
parent 11adf9da04
commit 1f0ea689dc
3 changed files with 47 additions and 7 deletions

View File

@@ -55,19 +55,19 @@
Proficiencies
</div>
<div flex class="bottom list">
{{#if weaponProfs.count}}
{{#if weaponProfs.length}}
<div class="paper-font-subhead">Weapons</div>
{{/if}}
{{#each weaponProfs}}
{{> proficiencyListItem}}
{{/each}}
{{#if armorProfs.count}}
{{#if armorProfs.length}}
<div class="paper-font-subhead">Armor</div>
{{/if}}
{{#each armorProfs}}
{{> proficiencyListItem}}
{{/each}}
{{#if toolProfs.count}}
{{#if toolProfs.length}}
<div class="paper-font-subhead">Tools</div>
{{/if}}
{{#each toolProfs}}