{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher

SPDX-License-Identifier: MIT
--}}

{{!--
!-- Render an effect list entry row.
!-- @param effectData: The data of the item.
--}}
<li class="ds4-embedded-document-list__row effect" data-effect-id="{{effectData._id}}">
    {{!-- icon --}}
    {{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.icon
    alt=(localize "DS4.DocumentImageAltText" name=effectData.name) title=effectData.name}}

    {{!-- name --}}
    <div title="{{effectData.name}}">{{effectData.name}}</div>

    {{!-- control button group --}}
    {{> systems/ds4/templates/sheets/shared/components/control-button-group.hbs documentType="effect"
    editTitle="DS4.UserInteractionEditEffectTitle" deleteTitle="DS4.UserInteractionDeleteEffectTitle"}}
</li>
