117544: rename directive to be clear it should currently only be used for buttons

This commit is contained in:
Jens Vannerum
2024-09-16 13:45:33 +02:00
parent 9fd3c2d734
commit 5a609d5bb1
181 changed files with 365 additions and 365 deletions

View File

@@ -103,7 +103,7 @@
<button
*ngIf="itemRD"
[attr.aria-label]="'access-control-bitstreams-select' | translate"
[dsDisabled]="!state.bitstream.toggleStatus || state.bitstream.changesLimit !== 'selected'"
[dsBtnDisabled]="!state.bitstream.toggleStatus || state.bitstream.changesLimit !== 'selected'"
(click)="openSelectBitstreamsModal(itemRD.payload)"
class="btn btn-outline-dark border-0" type="button">
<i class="fa fa-search"></i>
@@ -161,7 +161,7 @@
{{ 'access-control-cancel' | translate }}
</button>
<button class="btn btn-primary"
[dsDisabled]="!state.item.toggleStatus && !state.bitstream.toggleStatus"
[dsBtnDisabled]="!state.item.toggleStatus && !state.bitstream.toggleStatus"
(click)="submit()" type="submit">
{{ 'access-control-execute' | translate }}
</button>