Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<ion-view view-title="Chats"> | ||
<ion-content> | ||
<ion-list> | ||
<ion-item ng-repeat="chat in chats.data | orderBy:'-lastMessage.timestamp'" | ||
class="item-chat item-remove-animate item-avatar item-icon-right" | ||
type="item-text-wrap"> | ||
<img ng-src="{{ chat.picture }}"> | ||
<h2>{{ chat.name }}</h2> | ||
<p>{{ chat.lastMessage.text }}</p> | ||
<span class="last-message-timestamp">{{ chat.lastMessage.timestamp }}</span> | ||
<i class="icon ion-chevron-right icon-accessory"></i> | ||
</ion-item> | ||
</ion-list> | ||
</ion-content> | ||
</ion-view> |