29 lines
1.1 KiB
Handlebars
29 lines
1.1 KiB
Handlebars
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.effect"}}</th>
|
|
<td><a class="title add-effect"><i class="fa-regular fa-plus"></i></a></th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.gear.effects as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="items">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding">
|
|
<span class="edit-item">{{item.label}}</span>
|
|
{{#if item.equipped}}
|
|
<span class="spell-process">{{localize "midgard5.active"}}</span>
|
|
{{#unless (or (eq item.duration.unit "") (eq item.duration.unit "limitless"))}}
|
|
<span class="spell-process">{{item.duration.time}} {{localize (concat "midgard5.time-" item.duration.unit)}}</span>
|
|
{{/unless}}
|
|
{{/if}}
|
|
</td>
|
|
{{!--{{#unless (eq item.label "Belastung")}}--}}
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
{{!--{{/unless}}--}}
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table> |