2021-07-20 02:16:43 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
|
|
|
{{!--
|
|
|
|
!-- Render an effect list entry row.
|
|
|
|
!-- @param effectData: The data of the item.
|
|
|
|
--}}
|
|
|
|
<li class="ds4-effect-list__row item" data-item-id="{{itemData._id}}">
|
|
|
|
{{!-- enabled --}}
|
|
|
|
<input class="ds4-effect-list__editable ds4-effect-list__editable--checkbox effect-change" type="checkbox" {{checked
|
|
|
|
(ne effectData.disabled)}} data-dtype="Boolean" data-property="disabled"
|
|
|
|
title="{{localize 'DS4.EffectEnabled'}}">
|
|
|
|
|
|
|
|
{{!-- icon --}}
|
|
|
|
{{> systems/ds4/templates/sheets/actor/components/rollable-image.hbs rollable=false src=effectData.icon
|
|
|
|
alt=(localize "DS4.EffectIconAltText" label=effectData.label) title=effectData.label}}
|
|
|
|
|
|
|
|
{{!-- label --}}
|
|
|
|
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
|
|
|
|
2021-07-20 02:35:55 +02:00
|
|
|
{{!-- source name --}}
|
|
|
|
<div>{{effectData.sourceName}}</div>
|
2021-07-20 02:16:43 +02:00
|
|
|
|
|
|
|
{{!-- control buttons --}}
|
|
|
|
{{> systems/ds4/templates/sheets/actor/components/overview-control-buttons.hbs
|
|
|
|
class="ds4-effect-list__control-buttons" }}
|
|
|
|
</li>
|