forked from public/bol
d5a5990faa
Ajout des macros Amélioration des cartons dans le chat avec gestion des succès/échecs/échecs critiques. Support des carrières dans les dialogues de tests d'attibuts et d'aptitudes.
25 lines
1.2 KiB
Handlebars
25 lines
1.2 KiB
Handlebars
{{#each data.features as | features key|}}
|
|
{{#if (gt (count features.items) 0)}}
|
|
<ol class="items-list">
|
|
<li class="item flexrow item-header">
|
|
<div class="item-name flex2">{{localize features.label}}</div>
|
|
{{#if ranked}}
|
|
<div class="item-field">{{localize "BOL.ui.rank"}}</div>
|
|
{{/if}}
|
|
</li>
|
|
{{#each features.items as |item id|}}
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
<div class="item-image {{#if (equals key "careers")}}roll-career{{/if}}"><img src="{{item.img}}" title="{{item.name}}"/></div>
|
|
<h4 class="item-name flex2"><a class="item-edit">{{item.name}}</a></h4>
|
|
{{#if (equals key "careers")}}
|
|
<span class="item-field">{{item.data.rank}}</span>
|
|
{{/if}}
|
|
<div class="item-controls-1">
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
{{/if}}
|
|
{{/each}}
|