mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
67611: Import external source entry window layout changes
This commit is contained in:
@@ -13,14 +13,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4>{{ (labelPrefix + 'select' | translate) }}</h4>
|
<h4>{{ (labelPrefix + 'select' | translate) }}</h4>
|
||||||
|
|
||||||
|
<div id="external-source-entry-entities" class="mb-3">
|
||||||
|
<h5 class="font-weight-bold">{{ (labelPrefix + 'entities' | translate) }}</h5>
|
||||||
|
|
||||||
<div id="external-source-entry-collection" class="mb-3">
|
<div id="external-source-entry-collection" class="mb-3">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="collection">{{ (labelPrefix + 'collection' | translate) }}</label>
|
<label for="collection">{{ (labelPrefix + 'collection' | translate) }}</label>
|
||||||
<input type="text" class="form-control" id="collection" placeholder="Enter collection ID" [(ngModel)]="collectionId">
|
<input type="text" class="form-control" id="collection" placeholder="Enter collection ID" [(ngModel)]="collectionId">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="external-source-entry-entities" class="mb-3">
|
|
||||||
<h5 class="font-weight-bold">{{ (labelPrefix + 'entities' | translate) }}</h5>
|
|
||||||
|
|
||||||
<ds-search-results *ngIf="(localEntitiesRD$ | async)?.payload?.page?.length > 0"
|
<ds-search-results *ngIf="(localEntitiesRD$ | async)?.payload?.page?.length > 0"
|
||||||
[searchResults]="(localEntitiesRD$ | async)"
|
[searchResults]="(localEntitiesRD$ | async)"
|
||||||
@@ -40,7 +42,7 @@
|
|||||||
<label class="form-check-label" for="new-entity">{{ (labelPrefix + 'entities.new' | translate) }}</label>
|
<label class="form-check-label" for="new-entity">{{ (labelPrefix + 'entities.new' | translate) }}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="external-source-entry-authority">
|
<div id="external-source-entry-authority" *ngIf="authorityEnabled">
|
||||||
<h5 class="font-weight-bold">{{ (labelPrefix + 'authority' | translate) }}</h5>
|
<h5 class="font-weight-bold">{{ (labelPrefix + 'authority' | translate) }}</h5>
|
||||||
|
|
||||||
<div class="ml-4">
|
<div class="ml-4">
|
||||||
|
@@ -142,6 +142,11 @@ export class ExternalSourceEntryImportModalComponent implements OnInit {
|
|||||||
*/
|
*/
|
||||||
importedObject: EventEmitter<ListableObject> = new EventEmitter<ListableObject>();
|
importedObject: EventEmitter<ListableObject> = new EventEmitter<ListableObject>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Should it display the ability to import the entry as an authority?
|
||||||
|
*/
|
||||||
|
authorityEnabled = false;
|
||||||
|
|
||||||
constructor(public modal: NgbActiveModal,
|
constructor(public modal: NgbActiveModal,
|
||||||
public lookupRelationService: LookupRelationService,
|
public lookupRelationService: LookupRelationService,
|
||||||
private selectService: SelectableListService,
|
private selectService: SelectableListService,
|
||||||
|
Reference in New Issue
Block a user