2013-04-26 18:47:40 +00:00
|
|
|
{hascontent}
|
|
|
|
<header class="boxHeadline boxSubHeadline">
|
2013-04-27 20:38:06 +00:00
|
|
|
<h1>{lang}chat.header.menu.chat{/lang}</h1>
|
2013-04-26 18:47:40 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="container marginTop">
|
|
|
|
<ul class="containerList">
|
|
|
|
{content}
|
|
|
|
{foreach from=$rooms item='room'}
|
|
|
|
{assign var='users' value=$room->getUsers()}
|
|
|
|
|
|
|
|
{if $users|count > 0}
|
|
|
|
<li>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<hgroup class="containerHeadline">
|
2013-04-27 10:01:43 +00:00
|
|
|
<h1><a href="{link controller='Chat' object=$room}{/link}">{$room}</a> <span class="badge">{#$users|count}</span></h1>
|
2013-04-26 18:57:09 +00:00
|
|
|
<h2>{$room->topic|language}</h2>
|
2013-04-26 18:47:40 +00:00
|
|
|
</hgroup>
|
|
|
|
|
|
|
|
<ul class="dataList">
|
|
|
|
{foreach from=$room->getUsers() item='user'}
|
|
|
|
<li><a href="{link controller='User' object=$user}{/link}" class="userLink" data-user-id="{$user->userID}">{$user}</a></li>
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
{/content}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{/hascontent}
|