parent
99a4c60140
commit
c8316eedf3
@ -1,18 +1,18 @@
|
||||
<li component="chat/recent/room" data-roomid="{rooms.roomId}" class="<!-- IF rooms.unread -->unread<!-- ENDIF rooms.unread -->">
|
||||
<i class="fa fa-times pull-right leave" component="chat/leave"></i>
|
||||
<!-- IF rooms.lastUser.uid -->
|
||||
<div data-username="{rooms.lastUser.username}" data-uid="{rooms.lastUser.uid}">
|
||||
<!-- IF rooms.lastUser.picture -->
|
||||
<img class="user-img" src="{rooms.lastUser.picture}">
|
||||
<!-- ELSE -->
|
||||
<div class="user-icon user-img" style="background-color: {rooms.lastUser.icon:bgColor};">{rooms.lastUser.icon:text}</div>
|
||||
<!-- ENDIF rooms.lastUser.picture -->
|
||||
<i component="user/status" title="[[global:{rooms.lastUser.status}]]" class="fa fa-circle status {rooms.lastUser.status}"></i>
|
||||
<span class="username">{rooms.usernames}</span>
|
||||
<div>
|
||||
<p>{rooms.roomName}</p>
|
||||
<!-- BEGIN rooms.users -->
|
||||
<!-- IF rooms.users.picture -->
|
||||
<img class="user-img avatar avatar-sm avatar-rounded" src="{rooms.users.picture}" title="{rooms.users.username}">
|
||||
<!-- ELSE -->
|
||||
<div class="user-img avatar avatar-sm avatar-rounded" title="{rooms.users.username}" style="background-color: {rooms.users.icon:bgColor};">{rooms.users.icon:text}</div>
|
||||
<!-- ENDIF rooms.users.picture -->
|
||||
<!-- END rooms.users -->
|
||||
<!-- IF !rooms.lastUser.uid -->
|
||||
[[modules:chat.no-users-in-room]]
|
||||
<!-- ENDIF !rooms.lastUser.uid -->
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
[[modules:chat.no-users-in-room]]
|
||||
<!-- ENDIF rooms.lastUser.uid -->
|
||||
|
||||
<span class="teaser-content">{rooms.teaser.content}</span>
|
||||
<span class="teaser-timestamp timeago pull-right" title="{rooms.teaser.timestampISO}"></span>
|
||||
|
Loading…
Reference in New Issue