using new chat_contact partial in chats template

main
Julian Lam 10 years ago
parent 11463dc9de
commit bc29386cd4

@ -5,23 +5,12 @@
<div class="col-md-4"> <div class="col-md-4">
<ul class="chats-list recent-chats" data-nextstart="{nextStart}"> <ul class="chats-list recent-chats" data-nextstart="{nextStart}">
<!-- BEGIN chats --> <!-- BEGIN chats -->
<li data-username="{chats.username}" data-uid="{chats.uid}" class="<!-- IF chats.unread -->unread<!-- ENDIF chats.unread -->"> <!-- IMPORT partials/chat_contact.tpl -->
<img class="user-img" src="{chats.picture}">
<i component="user/status" title="[[global:{chats.status}]]" class="fa fa-circle status {chats.status}"></i>
<span class="username">{chats.username}</span>
<span class="teaser-content">{chats.teaser.content}</span>
<span class="teaser-timestamp timeago" title="{chats.teaser.timestampISO}"></span>
</li>
<!-- END chats --> <!-- END chats -->
<!-- BEGIN contacts --> <!-- BEGIN contacts -->
<li data-username="{contacts.username}" data-uid="{contacts.uid}"> <!-- IMPORT partials/chat_contact.tpl -->
<i component="user/status" title="[[global:{contacts.status}]]" class="fa fa-circle status {contacts.status}"></i>
<img class="user-img" src="{contacts.picture}">
<span class="username">{contacts.username}</span>
</li>
<!-- END contacts --> <!-- END contacts -->
</ul> </ul>
</div> </div>
<div class="col-md-8 hidden-sm hidden-xs"> <div class="col-md-8 hidden-sm hidden-xs">

Loading…
Cancel
Save