argos/dmp-frontend/src/app/dmps/editor/dmp-finalise-dialog/dmp-finalise-dialog.compone...

26 lines
820 B
HTML
Raw Normal View History

<form>
<div mat-dialog-title>
</div>
<div mat-dialog-content *ngIf="datasetsFinalised && datasetsDraft">
{{'DMP-FINALISE-DIALOG.ALREADY-FINALISED-DATASETS' | translate}}
<mat-list>
<mat-list-item *ngFor="let dataset of datasetsFinalised | async; let len = length">
<div>{{ dataset.label }}</div>
</mat-list-item>
</mat-list>
{{'DMP-FINALISE-DIALOG.FINALISE-TITLE' | translate}}
<mat-selection-list #datasetsDraftSelectionList>
<mat-list-option *ngFor="let dataset of datasetsDraft | async; let len = length" [value]='dataset'>
{{ dataset.label }}
</mat-list-option>
</mat-selection-list>
</div>
<div mat-dialog-actions>
<div class="full-width">
<button mat-raised-button (click)="submit()">
{{'DMP-FINALISE-DIALOG.SUBMIT' | translate}}
</button>
</div>
</div>
</form>