Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
6fe78b4059
|
@ -1,13 +1,12 @@
|
||||||
<div class="w-100">
|
<div class="mt-4 mr-4">
|
||||||
<div mat-dialog-title>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-auto ml-auto close-btn" (click)="close()">
|
<div class="col-auto ml-auto close-btn" (click)="close()">
|
||||||
<mat-icon>close</mat-icon>
|
<mat-icon>close</mat-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div mat-dialog-content class="row">
|
<div mat-dialog-content class="row">
|
||||||
<ng-container *ngIf="fieldSet && propertiesFormGroup" class="row">
|
<ng-container *ngIf="fieldSet && propertiesFormGroup" class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div mat-dialog-content>
|
<div mat-dialog-content>
|
||||||
|
@ -21,10 +20,9 @@
|
||||||
<app-description-form-field class="col-12 compositeField" [propertiesFormGroup]="propertiesFormGroup.get('fields')" [field]="field" [fieldSet]="fieldSet" [isChild]="true"></app-description-form-field>
|
<app-description-form-field class="col-12 compositeField" [propertiesFormGroup]="propertiesFormGroup.get('fields')" [field]="field" [fieldSet]="fieldSet" [isChild]="true"></app-description-form-field>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div mat-dialog-actions class="row">
|
<div mat-dialog-actions class="row">
|
||||||
<div class="ml-auto col-auto"><button class="normal-btn-light-sm" (click)="cancel()">{{'DESCRIPTION-EDITOR.ACTIONS.CANCEL' | translate}}</button></div>
|
<div class="ml-auto col-auto"><button class="normal-btn-light-sm" (click)="cancel()">{{'DESCRIPTION-EDITOR.ACTIONS.CANCEL' | translate}}</button></div>
|
||||||
<div class="col-auto"><button class="normal-btn-sm" [disabled]="!propertiesFormGroup.get('fields').valid" (click)="save()">{{'DESCRIPTION-EDITOR.ACTIONS.SAVE' | translate}}</button></div>
|
<div class="col-auto"><button class="normal-btn-sm" [disabled]="!propertiesFormGroup.get('fields').valid" (click)="save()">{{'DESCRIPTION-EDITOR.ACTIONS.SAVE' | translate}}</button></div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -123,7 +123,6 @@ export class DescriptionFormFieldSetComponent extends BaseComponent {
|
||||||
|
|
||||||
editTableMultiplicityFieldInDialog(fieldSetIndex: number) {
|
editTableMultiplicityFieldInDialog(fieldSetIndex: number) {
|
||||||
const dialogRef = this.dialog.open(FormFieldSetEditorDialogComponent, {
|
const dialogRef = this.dialog.open(FormFieldSetEditorDialogComponent, {
|
||||||
width: '750px',
|
|
||||||
disableClose: true,
|
disableClose: true,
|
||||||
data: {
|
data: {
|
||||||
fieldSet: this.fieldSet,
|
fieldSet: this.fieldSet,
|
||||||
|
|
Loading…
Reference in New Issue