mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Improve design of dashboard box
This commit is contained in:
parent
f94960601e
commit
541aa11eaa
@ -5,9 +5,25 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="container marginTop">
|
<div class="container marginTop">
|
||||||
<ul>
|
<ul class="containerList">
|
||||||
{foreach from=$rooms item='room'}
|
{foreach from=$rooms item='room'}
|
||||||
<li><strong>{$room}</strong>: <ul class="dataList">{implode from=$room->getUsers() item='user'}<li><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user}</a></li>{/implode}</ul>
|
{assign var='users' value=$room->getUsers()}
|
||||||
|
|
||||||
|
{if $users|count > 0}
|
||||||
|
<li>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<hgroup class="containerHeadline">
|
||||||
|
<h1><a href="{link controller='Chat' object=$room}{/link}">{$room}</a><small> - {$room->topic|language}</small></h1>
|
||||||
|
<h2><strong>{#$users|count} Users</strong></h2>
|
||||||
|
</hgroup>
|
||||||
|
<ul class="dataList">
|
||||||
|
{implode from=$room->getUsers() item='user'}<li><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user}</a></li>{/implode}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user