17 lines
844 B
HTML
17 lines
844 B
HTML
<button (click)="router.navigate(['/chat/picture/'+serviceManager.currentSession()!.userData.userid])" tuiButton [appearance]="router.url == '/chat/picture/' + serviceManager.currentSession()!.userData.userid ? 'primary' : 'secondary'" iconStart="@tui.user">
|
|
{{"chat.chatnav.pictureList.myPictures"|translate}}
|
|
</button>
|
|
|
|
@for (chat of serviceManager.chats(); track chat.chatid) {
|
|
<button [class.enlarge]="breakpoint() == 'mobile'" tuiButton [appearance]="router.url == '/chat/picture/' + chat.userid ? 'primary' : 'flat'" [routerLink]="'/chat/picture/' + chat.userid">
|
|
<oimg [src]="chat.pfp" height="35px" width="35px" [radius]="10"></oimg>
|
|
<div class="info">
|
|
@if (chat.displayName == "") {
|
|
<span>{{'@'+chat.username}}</span>
|
|
} @else {
|
|
<span>{{chat.displayName}}</span>
|
|
}
|
|
</div>
|
|
</button>
|
|
}
|