profile improvements, aliases feature
This commit is contained in:
@@ -2,8 +2,14 @@
|
||||
<mat-progress-bar *ngIf="!success && !error" mode="indeterminate"></mat-progress-bar>
|
||||
|
||||
<div *ngIf="success">
|
||||
<h3>{{username}}</h3>
|
||||
<app-profilefields [profileFields]="profileFields"></app-profilefields>
|
||||
<h3>{{model.username}}</h3>
|
||||
<app-profilefields [username]="model.username"></app-profilefields>
|
||||
<div *ngIf="model.aliases && model.aliases.length > 0">
|
||||
<h4>{{'user.aliases' | i18n}}</h4>
|
||||
<mat-list>
|
||||
<mat-list-item *ngFor="let alias of model.aliases">{{alias}}</mat-list-item>
|
||||
</mat-list>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<mat-card class="warn" *ngIf="error">
|
||||
|
||||
Reference in New Issue
Block a user