1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00
Tims-Chat/templates/userList.tpl

28 lines
956 B
Smarty
Raw Normal View History

2018-08-16 22:30:59 +00:00
{literal}
<script type="x-text/template" data-application="be.bastelstu.chat" data-template-name="UserList">
<ul class="sidebarItemList">
{foreach from=$users item='user'}
<li data-user-id="{$user.userID}"{if $user.away != null} data-user-away="{$user.away}"{/if} class="box24 jsUserActionDropdown">
<a href="{$user.link}">{@$user.image24}</a>
<div class="sidebarItemTitle">
<h3><a href="{$user.link}" data-user-id="{$user.userID}">{@$user.formattedUsername}</a></h3>
2018-08-16 22:30:59 +00:00
</div>
<div class="iconColumn">
{if $user.away !== null}
<span class="icon icon24 fa-clock-o jsTooltip awayIcon" title="{lang}chat.room.userList.away{/lang}"></span>
{/if}
{if !$user.permissions.canWritePublicly}
<span class="icon icon24 fa-remove jsTooltip" title="{lang}chat.room.userList.mute{/lang}"></span>
{/if}
{/literal}
{event name='icons'}
{literal}
</div>
</li>
{/foreach}
</ul>
</script>
{/literal}