<form>
	<div mat-dialog-title>
		<div class="row">
			<div class="col-auto">
				<img mat-card-avatar class="my-mat-card-avatar" *ngIf="this.principalHasAvatar()" [src]="this.getPrincipalAvatar()">
				<img mat-card-avatar class="my-mat-card-avatar" *ngIf="!this.principalHasAvatar()" [src]="this.getDefaultAvatar()">
			</div>
			<span class="user-label col">{{this.getPrincipalName()}}</span>
		</div>
	</div>

	<div mat-dialog-content class="row">
		<mat-divider class="col-12"></mat-divider>
		<div class="col-12">
			<a mat-button class="profile" (click)="navigateToProfile()"><mat-icon class="mr-1">person</mat-icon>{{'USER-DIALOG.USER-PROFILE' | translate}}</a>
		</div>
		<mat-divider class="col-12"></mat-divider>
		<div class="col-12">
			<a mat-button class="logout" (click)="logout()"><mat-icon class="mr-1">exit_to_app</mat-icon>{{ 'USER-DIALOG.LOG-OUT' | translate }}</a>
		</div>
	</div>
</form>
