mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-19 16:03:02 +00:00
[TLC-674] Allow for no duplicate section in submitted workspace item
This commit is contained in:
@@ -3,12 +3,12 @@ Template for the detect duplicates submission section component
|
||||
@author Kim Shepherd
|
||||
-->
|
||||
<div class="text-sm-left" *ngVar="(this.getDuplicateData() | async) as data">
|
||||
<ng-container *ngIf="data.potentialDuplicates.length == 0">
|
||||
<ng-container *ngIf="data?.potentialDuplicates.length == 0">
|
||||
<p>{{ 'submission.sections.duplicates.none' | translate }}</p>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="data.potentialDuplicates.length > 0">
|
||||
<ng-container *ngIf="data?.potentialDuplicates.length > 0">
|
||||
<div class="alert alert-warning w-100">{{ 'submission.sections.duplicates.detected' | translate }}</div>
|
||||
<div *ngFor="let dupe of data.potentialDuplicates" class="ds-duplicate">
|
||||
<div *ngFor="let dupe of data?.potentialDuplicates" class="ds-duplicate">
|
||||
<a target="_blank" [href]="getItemLink(dupe.uuid)">{{dupe.title}}</a>
|
||||
<div *ngFor="let metadatum of Metadata.toViewModelList(dupe.metadata)">
|
||||
{{('item.preview.' + metadatum.key) | translate}} {{metadatum.value}}
|
||||
|
Reference in New Issue
Block a user