You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.2 KiB
18 lines
1.2 KiB
<if (!state.deleted)>
|
|
<compact-list-property primary short label="ID" value=input.data.id />
|
|
<compact-list-property title=input.data.nicks.join(", ") label="Nick" value=(input.data.nick) />
|
|
<compact-list-property long label="Name" value=input.data.name />
|
|
<compact-list-property short label="Author" value=input.data.author />
|
|
<compact-list-options long>
|
|
<if-permitted user=input.user author=input.data.author permission="character.edit">
|
|
<a key="edit" on-click("open", "edit", input.data)>Edit</a>
|
|
<a key="nicks" on-click("open", "nicks", input.data)>Nicks</a>
|
|
</if-permitted>
|
|
<if-permitted user=input.user author=input.data.author permission="character.remove">
|
|
<a key="remove" on-click("open", "remove", input.data)>Remove</a>
|
|
</if-permitted>
|
|
</compact-list-options>
|
|
<remove-character-modal enabled=(state.modal === "remove") character=input.data on-removed("emit", "removed") on-close("close") />
|
|
<edit-character-modal enabled=(state.modal === "edit") character=input.data on-edited("emit", "edited") on-close("close") />
|
|
<character-nicks-modal enabled=(state.modal === "nicks") character=input.data on-nicks("emit", "nicks") on-close("close") />
|
|
</if>
|