Skip to content

Commit 53906d1

Browse files
committed
[DSC-1362] fix submission file view after merge
1 parent 0226ccb commit 53906d1

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

src/app/submission/sections/upload/file/view/section-upload-file-view.component.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,19 @@ <h5 *ngIf="metadata[fileTitleKey].indexOf(entry) === 0">
2525
</ng-container>
2626
</ng-container>
2727

28-
2928
<div class="mt-1" *ngIf="fileFormat">
30-
{{'admin.registries.bitstream-formats.edit.head' | translate:{format: fileFormat} }}
29+
<span class="font-weight-bold">{{'submission.sections.upload.format' | translate}} :</span><span> {{fileFormat}} </span>
3130
</div>
3231
<div class="mt-1" *ngIf="fileCheckSum">
33-
Checksum {{fileCheckSum.checkSumAlgorithm}}: {{fileCheckSum.value}}
32+
<span class="font-weight-bold">{{'submission.sections.upload.checksum' | translate}} ({{fileData.checkSum.checkSumAlgorithm}}) <i class="far fa-question-circle text-info hint" #hint="ngbTooltip"
33+
container="body"
34+
placement="top"
35+
[ngbTooltip]="tipContent"
36+
triggers="manual"
37+
[autoClose]="false"
38+
(click)="hint.toggle();$event.preventDefault();"></i> :</span><span> {{fileData.checkSum.value}} </span>
3439
</div>
3540
<span class="clearfix"></span>
36-
<span class="font-weight-bold">{{'submission.sections.upload.checksum' | translate}} ({{fileData.checkSum.checkSumAlgorithm}}) <i class="far fa-question-circle text-info hint" #hint="ngbTooltip"
37-
container="body"
38-
placement="top"
39-
[ngbTooltip]="tipContent"
40-
triggers="manual"
41-
[autoClose]="false"
42-
(click)="hint.toggle();$event.preventDefault();"></i> :</span><span> {{fileData.checkSum.value}} </span>
43-
<span class="clearfix"></span>
4441
<ds-submission-section-upload-access-conditions [accessConditions]="fileData.accessConditions"></ds-submission-section-upload-access-conditions>
4542
</div>
4643

src/assets/i18n/en.json5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6282,6 +6282,8 @@
62826282

62836283
"submission.sections.toggle.aria.close": "Collapse {{sectionHeader}} section",
62846284

6285+
"submission.sections.upload.format": "Bitstream format",
6286+
62856287
"submission.sections.upload.checksum": "Checksum",
62866288

62876289
"submission.sections.upload.delete.confirm.cancel": "Cancel",

0 commit comments

Comments
 (0)