bol/templates/actor/parts/tabs/actor-features.hbs

25 lines
1.2 KiB
Handlebars
Raw Normal View History

2021-11-08 14:40:29 +01:00
{{#each data.features as | features key|}}
{{#if (gt (count features.items) 0)}}
<ol class="items-list">
<li class="item flexrow item-header">
2021-11-08 14:40:29 +01:00
<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}}">
2021-11-08 14:40:29 +01:00
<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")}}
2021-11-08 14:40:29 +01:00
<span class="item-field">{{item.data.rank}}</span>
{{/if}}
2021-11-08 14:40:29 +01:00
<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}}