|
|
|
@ -1,27 +1,37 @@
|
|
|
|
|
<div class="template-container">
|
|
|
|
|
<div mat-dialog-title class="row d-flex mb-4">
|
|
|
|
|
<div class="col p-0">
|
|
|
|
|
<span class="title">{{'USER-PROFILE.ACTIONS.LINK-NEW-ACCOUNT' | translate}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-auto p-0">
|
|
|
|
|
<mat-icon class="close-icon" (click)="closeDialog()">close</mat-icon>
|
|
|
|
|
<div mat-dialog-title class="mb-3">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col">
|
|
|
|
|
<span class="title">{{'USER-PROFILE.ACTIONS.LINK-NEW-ACCOUNT' | translate}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-auto">
|
|
|
|
|
<mat-icon class="close-icon" (click)="closeDialog()">close</mat-icon>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <app-login *ngIf="hasEmail" [mergeUsers]="true" redirect="false"></app-login> -->
|
|
|
|
|
<!-- <div *ngIf="!hasEmail"> -->
|
|
|
|
|
<div class="row mt-2 mb-4">
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<mat-form-field class="w-100">
|
|
|
|
|
<input required matInput [formControl]="form.get('email')" placeholder="{{'USER-PROFILE.SETTINGS.YOUR-EMAIL' | translate}}">
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
<div mat-dialog-content class="mb-3">
|
|
|
|
|
<div class="row mt-2 mb-4">
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<mat-form-field class="w-100">
|
|
|
|
|
<input required matInput [formControl]="form.get('email')" placeholder="{{'USER-PROFILE.SETTINGS.YOUR-EMAIL' | translate}}">
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row justify-content-end">
|
|
|
|
|
<div class="col-auto">
|
|
|
|
|
<button mat-raised-button type="button" class="cancel-btn ml-auto" (click)="cancel()">{{'USER-PROFILE.ACTIONS.CANCEL' | translate}}</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-auto">
|
|
|
|
|
<button mat-raised-button type="button" class="add-btn ml-4" (click)="add()" [disabled]="!form.valid">{{'USER-PROFILE.ACTIONS.ADD' | translate}}</button>
|
|
|
|
|
|
|
|
|
|
<div mat-dialog-actions class="mb-2">
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
|
<div class="col-xl"></div>
|
|
|
|
|
<div class="col-auto">
|
|
|
|
|
<button mat-raised-button type="button" class="cancel-btn ml-auto" (click)="cancel()">{{'USER-PROFILE.ACTIONS.CANCEL' | translate}}</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-auto">
|
|
|
|
|
<button mat-raised-button type="button" class="add-btn" (click)="add()" [disabled]="!form.valid">{{'USER-PROFILE.ACTIONS.ADD' | translate}}</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|