mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
[CST-12044] refactor: code
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
[checked]="isPrimary"
|
[checked]="isPrimary"
|
||||||
(change)="togglePrimaryBitstream($event)">
|
(change)="togglePrimaryBitstream($event)">
|
||||||
<label class="custom-control-label" for="primaryBitstream{{fileIndex}}">
|
<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">{{'submission.sections.upload.primary.make' | translate:{ fileName: fileName } }}</span>
|
||||||
<span class="sr-only" aria-hidden="true" *ngIf="isPrimary">Remove {{fileName}} as the primary bitstream</span>
|
<span class="sr-only" aria-hidden="true" *ngIf="isPrimary">{{'submission.sections.upload.primary.remove' | translate:{ fileName: fileName } }}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -4434,6 +4434,10 @@
|
|||||||
|
|
||||||
"submission.sections.toggle.aria.close": "Collapse {{sectionHeader}} section",
|
"submission.sections.toggle.aria.close": "Collapse {{sectionHeader}} section",
|
||||||
|
|
||||||
|
"submission.sections.upload.primary.make": "Make {{fileName}} the primary bitstream",
|
||||||
|
|
||||||
|
"submission.sections.upload.primary.remove": "Remove {{fileName}} as the primary bitstream",
|
||||||
|
|
||||||
"submission.sections.upload.delete.confirm.cancel": "Cancel",
|
"submission.sections.upload.delete.confirm.cancel": "Cancel",
|
||||||
|
|
||||||
"submission.sections.upload.delete.confirm.info": "This operation can't be undone. Are you sure?",
|
"submission.sections.upload.delete.confirm.info": "This operation can't be undone. Are you sure?",
|
||||||
|
Reference in New Issue
Block a user