forked from hazza/dspace-angular
Changing the bitstream title in the submission form to use the view component title, avoiding disappearance with changes to the form
(cherry picked from commit fec4aa6df1
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
1cafe15d0d
commit
8dd132d7a7
@@ -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">
|
||||
|
@@ -18,6 +18,7 @@ import { WorkspaceitemSectionUploadFileObject } from '../../../../../core/submis
|
||||
import { isNotEmpty } from '../../../../../shared/empty.util';
|
||||
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
||||
import { SubmissionSectionUploadAccessConditionsComponent } from '../../accessConditions/submission-section-upload-access-conditions.component';
|
||||
import { FileSizePipe } from "../../../../../shared/utils/file-size-pipe";
|
||||
|
||||
/**
|
||||
* This component allow to show bitstream's metadata
|
||||
@@ -31,6 +32,7 @@ import { SubmissionSectionUploadAccessConditionsComponent } from '../../accessCo
|
||||
TruncatePipe,
|
||||
NgIf,
|
||||
NgForOf,
|
||||
FileSizePipe
|
||||
],
|
||||
standalone: true,
|
||||
})
|
||||
|
Reference in New Issue
Block a user