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

View File

@ -474,6 +474,7 @@
"DATASET-LISTING": { "DATASET-LISTING": {
"TITLE": "Dataset Descriptions", "TITLE": "Dataset Descriptions",
"SELECT-DATASETS-TO-CLONE": "Select which datasets to include in the new DMP. Selected datasets will be editable.", "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": { "COLUMNS": {
"NAME": "Name", "NAME": "Name",
"REFERNCE": "Reference", "REFERNCE": "Reference",