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
|
@ -13,8 +13,10 @@ SPDX-License-Identifier: MIT
|
|||
!-- @param deleteTitle: The title to use for the delete link element (will be localized)
|
||||
--}}
|
||||
<div class="ds4-control-button-group">
|
||||
{{#if @root/editable}}
|
||||
<a class="ds4-control-button-group__button control-{{documentType}}" data-action="edit"
|
||||
title="{{localize editTitle}}"><i class="fas fa-edit"></i></a>
|
||||
<a class="ds4-control-button-group__button control-{{documentType}}" data-action="delete"
|
||||
title="{{localize deleteTitle}}"><i class="fas fa-trash"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue