Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 1x | <div class="m3"> <mat-card> <mat-card-title> <div fxLayout="row" fxLayoutAlign="start center"> <button mat-icon-button (click)="back()"> <mat-icon>arrow_back</mat-icon> </button> <h1>User information</h1> </div> </mat-card-title> <mat-card-content> <div *ngIf="user" fxLayout="column" fxLayoutAlign="start center"> <p>Name: {{ user.firstName }} {{ user.lastName | uppercase }}</p> <p>Email: {{ user.email }}</p> <p *ngIf="user.admin" class="my2">You are admin</p> <div *ngIf="!user.admin" fxLayout="column" class="my2" fxLayoutAlign="center center"> <p>Delete my account:</p> <button mat-raised-button color="warn" (click)="delete()"> <mat-icon>delete</mat-icon> <span class="ml1">Detail</span> </button> </div> <div fxLayoutAlign="space-between center" class="p2 w100"> <p><i>Create at: </i> {{ user.createdAt | date: 'longDate'}}</p> <p><i>Last update: </i> {{ user.updatedAt| date: 'longDate'}}</p> </div> </div> </mat-card-content> </mat-card> </div> |