Fixes Dataset Description tab content on clone, new version of DMP.

This commit is contained in:
apapachristou 2019-10-17 12:45:59 +03:00
parent c1a6a8d30e
commit c96d1c7afe
2 changed files with 14 additions and 8 deletions

View File

@ -1,10 +1,15 @@
<div class="container-fluid">
<h5 mat-subheader>{{'DATASET-LISTING.SELECT-DATASETS-TO-CLONE' | translate}} {{titlePrefix}}</h5>
<mat-card class="mat-card">
<mat-selection-list #selectedItems (selectionChange)="selectionChanged($event,selectedItems)">
<mat-list-option *ngFor="let dataset of datasets;" [value]="dataset.id" >
{{dataset.label}}
</mat-list-option>
</mat-selection-list>
</mat-card>
<div *ngIf="datasets.length > 0">
<h5 mat-subheader>{{'DATASET-LISTING.SELECT-DATASETS-TO-CLONE' | translate}} {{titlePrefix}}</h5>
<mat-card class="mat-card">
<mat-selection-list #selectedItems (selectionChange)="selectionChanged($event,selectedItems)">
<mat-list-option *ngFor="let dataset of datasets;" [value]="dataset.id">
{{dataset.label}}
</mat-list-option>
</mat-selection-list>
</mat-card>
</div>
<div *ngIf="datasets.length == 0">
<h5 mat-subheader class="p-3">{{'DATASET-LISTING.SELECT-DATASETS-NONE' | translate}}</h5>
</div>
</div>

View File

@ -474,6 +474,7 @@
"DATASET-LISTING": {
"TITLE": "Dataset Descriptions",
"SELECT-DATASETS-TO-CLONE": "Select which datasets to include in the new DMP. Selected datasets will be editable.",
"SELECT-DATASETS-NONE": "Not available Dataset Descriptions for this DMP.",
"COLUMNS": {
"NAME": "Name",
"REFERNCE": "Reference",