moved teaser out of user

main
barisusakli 9 years ago
parent 979bbf1372
commit c573d5f1c1

@ -9,6 +9,8 @@
<!-- BEGIN rooms.users --> <!-- BEGIN rooms.users -->
<!-- IMPORT partials/chat_contact.tpl --> <!-- IMPORT partials/chat_contact.tpl -->
<!-- END rooms.users --> <!-- END rooms.users -->
<span class="teaser-content">{rooms.teaser.content}</span>
<span class="teaser-timestamp timeago" title="{rooms.teaser.timestampISO}"></span>
</li> </li>
<!-- END rooms --> <!-- END rooms -->
</ul> </ul>

@ -1,4 +1,4 @@
<div data-username="{../username}" data-uid="{../uid}" > <div data-username="{../username}" data-uid="{../uid}">
<!-- IF ../picture --> <!-- IF ../picture -->
<img class="user-img" src="{../picture}"> <img class="user-img" src="{../picture}">
<!-- ELSE --> <!-- ELSE -->
@ -6,6 +6,5 @@
<!-- ENDIF ../picture --> <!-- ENDIF ../picture -->
<i component="user/status" title="[[global:{../status}]]" class="fa fa-circle status {../status}"></i> <i component="user/status" title="[[global:{../status}]]" class="fa fa-circle status {../status}"></i>
<span class="username">{../username}</span> <span class="username">{../username}</span>
<span class="teaser-content">{../teaser.content}</span>
<span class="teaser-timestamp timeago" title="{../teaser.timestampISO}"></span>
</div> </div>
Loading…
Cancel
Save