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.
|
|
|
|
--}}
|
2021-07-23 00:43:15 +02:00
|
|
|
<li class="ds4-effect-list__row effect" data-id="{{effectData._id}}">
|
2021-07-20 02:16:43 +02:00
|
|
|
{{!-- enabled --}}
|
2021-07-22 02:50:16 +02:00
|
|
|
<input class="ds4-effect-list__editable ds4-effect-list__editable--checkbox change-effect" type="checkbox" {{checked
|
|
|
|
(ne effectData.disabled true)}} data-dtype="Boolean" data-property="disabled" data-inverted="true"
|
2021-07-20 02:16:43 +02:00
|
|
|
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
|
|
|
|
2021-07-22 02:02:35 +02:00
|
|
|
{{!-- control button group --}}
|
|
|
|
{{> systems/ds4/templates/sheets/actor/components/control-button-group.hbs documentType="effect"
|
|
|
|
editTitle="DS4.UserInteractionEditEffectTitle" deleteTitle="DS4.UserInteractionDeleteEffectTitle"}}
|
2021-07-20 02:16:43 +02:00
|
|
|
</li>
|