You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
769 B
Smarty

<li component="chat/recent/room" data-roomid="{rooms.roomId}" class="<!-- IF rooms.unread -->unread<!-- ENDIF rooms.unread -->">
<strong class="room-name">
<!-- IF !rooms.lastUser.uid -->
<span>[[modules:chat.no-users-in-room]]</span>
<!-- ELSE -->
<span component="chat/title"><!-- IF rooms.roomName -->{rooms.roomName}<!-- ELSE -->{rooms.usernames}<!-- ENDIF rooms.roomName --></span>
<!-- ENDIF !rooms.lastUser.uid -->
</strong>
<div class="avatar-placeholder"></div>
{{{each rooms.users}}}
<!-- IF @first -->
<div class="main-avatar">
<!-- IMPORT partials/chats/user.tpl -->
</div>
<!-- ENDIF @first -->
{{{end}}}
<ul class="members">
{{{each rooms.users}}}
<li>
<!-- IMPORT partials/chats/user.tpl -->
</li>
{{{end}}}
</ul>
</li>