fix: visually disable/remove interactive elements in non-editable sheets
This commit is contained in:
parent
a71a388fbf
commit
2023019d3a
6 changed files with 27 additions and 3 deletions
|
@ -24,7 +24,7 @@ SPDX-License-Identifier: MIT
|
|||
{{/if}}
|
||||
|
||||
{{!-- image --}}
|
||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=itemData.data.rollable
|
||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=(and itemData.data.rollable @root/editable)
|
||||
src=itemData.img alt=(localize "DS4.DocumentImageAltText" name=itemData.name) title=itemData.name
|
||||
rollableTitle=(localize "DS4.RollableImageRollableTitle" name=itemData.name) rollableClass="rollable-item"}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue