|
|
|
@ -2,18 +2,22 @@
|
|
|
|
|
<i class="fa fa-times pull-right leave" component="chat/leave"></i>
|
|
|
|
|
<div>
|
|
|
|
|
<p>{rooms.roomName}</p>
|
|
|
|
|
<!-- BEGIN rooms.users -->
|
|
|
|
|
<a href="{config.relative_path}/user/{rooms.users.userslug}">
|
|
|
|
|
<!-- 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 -->
|
|
|
|
|
</a>
|
|
|
|
|
<!-- END rooms.users -->
|
|
|
|
|
<!-- IF !rooms.lastUser.uid -->
|
|
|
|
|
[[modules:chat.no-users-in-room]]
|
|
|
|
|
<!-- ENDIF !rooms.lastUser.uid -->
|
|
|
|
|
<ul class="members">
|
|
|
|
|
<!-- BEGIN rooms.users -->
|
|
|
|
|
<li>
|
|
|
|
|
<a href="{config.relative_path}/user/{rooms.users.userslug}">
|
|
|
|
|
<!-- 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 -->
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<!-- END rooms.users -->
|
|
|
|
|
<!-- IF !rooms.lastUser.uid -->
|
|
|
|
|
<li>[[modules:chat.no-users-in-room]]</li>
|
|
|
|
|
<!-- ENDIF !rooms.lastUser.uid -->
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<span class="teaser-content">{rooms.teaser.content}</span>
|
|
|
|
|