mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merge pull request #3588 from DSpace/backport-3378-to-dspace-8_x
[Port dspace-8_x] Changing the bitstream title in the submission form to use the view c…
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="float-left w-75">
|
||||
<h3>{{fileName}} <span class="text-muted">({{fileData?.sizeBytes | dsFileSize}})</span></h3>
|
||||
<ds-submission-section-upload-file-view [fileData]="fileData"></ds-submission-section-upload-file-view>
|
||||
</div>
|
||||
<div class="float-right w-15">
|
||||
<ng-container>
|
||||
@@ -43,7 +43,6 @@
|
||||
</ng-container>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<ds-submission-section-upload-file-view [fileData]="fileData"></ds-submission-section-upload-file-view>
|
||||
</div>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
@@ -2,9 +2,10 @@
|
||||
<ng-container *ngIf="metadata">
|
||||
<ng-container *ngFor="let entry of getAllMetadataValue(fileTitleKey)">
|
||||
<ng-container *ngIf="entry.value !== ''">
|
||||
<h5>
|
||||
<h3>
|
||||
{{entry.value}}
|
||||
</h5>
|
||||
<span class="text-muted">({{fileData?.sizeBytes | dsFileSize}})</span>
|
||||
</h3>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="entry.value === ''">
|
||||
<h5 *ngIf="metadata[fileTitleKey].indexOf(entry) === 0">
|
||||
|
@@ -16,6 +16,7 @@ import {
|
||||
import { Metadata } from '../../../../../core/shared/metadata.utils';
|
||||
import { WorkspaceitemSectionUploadFileObject } from '../../../../../core/submission/models/workspaceitem-section-upload-file.model';
|
||||
import { isNotEmpty } from '../../../../../shared/empty.util';
|
||||
import { FileSizePipe } from '../../../../../shared/utils/file-size-pipe';
|
||||
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
||||
import { SubmissionSectionUploadAccessConditionsComponent } from '../../accessConditions/submission-section-upload-access-conditions.component';
|
||||
|
||||
@@ -31,6 +32,7 @@ import { SubmissionSectionUploadAccessConditionsComponent } from '../../accessCo
|
||||
TruncatePipe,
|
||||
NgIf,
|
||||
NgForOf,
|
||||
FileSizePipe,
|
||||
],
|
||||
standalone: true,
|
||||
})
|
||||
|
Reference in New Issue
Block a user