38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<ion-header no-border>
|
|
<ion-row>
|
|
<ion-col text-center>
|
|
<button ion-button clear small>
|
|
Messages
|
|
</button>
|
|
</ion-col>
|
|
<!--ion-col text-center>
|
|
<button ion-button clear small>
|
|
Taps
|
|
</button>
|
|
</ion-col-->
|
|
</ion-row>
|
|
</ion-header>
|
|
|
|
<ion-content no-padding>
|
|
<ion-list>
|
|
<ng-container *ngFor="let profile of profiles">
|
|
<ion-item no-padding *ngIf="profile.messages?.length > 0">
|
|
<ion-thumbnail item-start (tap)="profilePictureTapped($event, profile)">
|
|
<img [src]="'https://appsby.fitz.guru/urge/' + profile.details.pic.thumb">
|
|
</ion-thumbnail>
|
|
<ion-grid (tap)="interviewTapped($event, profile)">
|
|
<ion-row nowrap justify-content-between>
|
|
<ion-col class="username">
|
|
{{profile.details.name}}
|
|
</ion-col>
|
|
<ion-col class="timestamp" [innerHTML]="getLatestMessageTimestamp(profile.messages)"></ion-col>
|
|
</ion-row>
|
|
<ion-row class="latest-message" nowrap>
|
|
<ion-col [innerHTML]="getLatestMessage(profile.messages)"></ion-col>
|
|
</ion-row>
|
|
</ion-grid>
|
|
</ion-item>
|
|
</ng-container>
|
|
</ion-list>
|
|
</ion-content>
|