Skip to content


Step 8.5: Added new chat template
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent cf92fbd commit 765d0da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/pages/chats/new-chat.html
@@ -0,0 +1,22 @@
<ion-toolbar color="whatsapp">
<ion-title>New Chat</ion-title>

<ion-buttons left>
<button ion-button class="dismiss-button" (click)="viewCtrl.dismiss()"><ion-icon name="close"></ion-icon></button>

<ion-buttons end>
<button ion-button class="search-button"><ion-icon name="search"></ion-icon></button>

<ion-content class="new-chat">
<ion-list class="users">
<button ion-item *ngFor="let user of users | async" class="user" (click)="addChat(user)">
<img class="user-picture" [src]="user.profile.picture">
<h2 class="user-name">{{}}</h2>

0 comments on commit 765d0da

Please sign in to comment.