1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Add class="away" to user list in boxRoomList.tpl

This commit is contained in:
Tim Düsterhus 2020-10-24 14:23:52 +02:00
parent 83c87f4c3f
commit 1a83a69026
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF

View File

@ -33,7 +33,7 @@ data-is-sidebar="0"
{if !$room->getUsers()|empty}
<ul class="inlineList commaSeparated">
{foreach from=$room->getUsers() item='user'}
<li><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user->username}</a></li>
<li{if $user->chatAway} class="away"{/if}><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user->username}</a></li>
{/foreach}
</ul>
{/if}