Skip to content

Commit

Permalink
[DSC-1362] fix submission file view after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Nov 30, 2023
1 parent 0226ccb commit 53906d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,19 @@ <h5 *ngIf="metadata[fileTitleKey].indexOf(entry) === 0">
</ng-container>
</ng-container>


<div class="mt-1" *ngIf="fileFormat">
{{'admin.registries.bitstream-formats.edit.head' | translate:{format: fileFormat} }}
<span class="font-weight-bold">{{'submission.sections.upload.format' | translate}} :</span><span> {{fileFormat}} </span>
</div>
<div class="mt-1" *ngIf="fileCheckSum">
Checksum {{fileCheckSum.checkSumAlgorithm}}: {{fileCheckSum.value}}
<span class="font-weight-bold">{{'submission.sections.upload.checksum' | translate}} ({{fileData.checkSum.checkSumAlgorithm}}) <i class="far fa-question-circle text-info hint" #hint="ngbTooltip"
container="body"
placement="top"
[ngbTooltip]="tipContent"
triggers="manual"
[autoClose]="false"
(click)="hint.toggle();$event.preventDefault();"></i> :</span><span> {{fileData.checkSum.value}} </span>
</div>
<span class="clearfix"></span>
<span class="font-weight-bold">{{'submission.sections.upload.checksum' | translate}} ({{fileData.checkSum.checkSumAlgorithm}}) <i class="far fa-question-circle text-info hint" #hint="ngbTooltip"
container="body"
placement="top"
[ngbTooltip]="tipContent"
triggers="manual"
[autoClose]="false"
(click)="hint.toggle();$event.preventDefault();"></i> :</span><span> {{fileData.checkSum.value}} </span>
<span class="clearfix"></span>
<ds-submission-section-upload-access-conditions [accessConditions]="fileData.accessConditions"></ds-submission-section-upload-access-conditions>
</div>

Expand Down
2 changes: 2 additions & 0 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6282,6 +6282,8 @@

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

"submission.sections.upload.format": "Bitstream format",

"submission.sections.upload.checksum": "Checksum",

"submission.sections.upload.delete.confirm.cancel": "Cancel",
Expand Down

0 comments on commit 53906d1

Please sign in to comment.