[CST-12044] refactor: code

This commit is contained in:
Vlad Nouski
2024-02-06 13:23:02 +01:00
parent 71af428a16
commit b86525990d
3 changed files with 7 additions and 4 deletions

View File

@@ -10,12 +10,15 @@
[disabled]="processingSaveStatus$ | async"
[checked]="isPrimary"
(change)="togglePrimaryBitstream($event)">
<label class="custom-control-label" for="primaryBitstream{{fileIndex}}"></label>
<label class="custom-control-label" for="primaryBitstream{{fileIndex}}">
<span class="sr-only" aria-hidden="true" *ngIf="!isPrimary">Make {{fileName}} the primary bitstream</span>
<span class="sr-only" aria-hidden="true" *ngIf="isPrimary">Remove {{fileName}} as the primary bitstream</span>
</label>
</div>
</div>
<div class="col-md-10">
<div class="float-left w-75">
<h3>{{fileName}}<span class="text-muted">({{fileData?.sizeBytes | dsFileSize}})</span></h3>
<h3>{{fileName}} <span class="text-muted">({{fileData?.sizeBytes | dsFileSize}})</span></h3>
</div>
<div class="float-right w-15">
<ng-container>