|
|
|
@ -1,8 +1,7 @@ |
|
|
|
<li id="{$conference->conference|cleanupId}" |
|
|
|
data-jid="{$conference->conference}" |
|
|
|
{if="$conference->nick != null"} data-nick="{$conference->nick}" {/if} |
|
|
|
class="room {if="$conference->connected"}connected{/if}" |
|
|
|
title="{$conference->conference}"> |
|
|
|
class="room {if="$conference->connected"}connected{/if}"> |
|
|
|
{$url = $conference->getPhoto()} |
|
|
|
{if="$url"} |
|
|
|
<span class="primary icon bubble color small |
|
|
|
@ -27,14 +26,14 @@ |
|
|
|
|
|
|
|
<div> |
|
|
|
<p class="normal line"> |
|
|
|
{$conference->name} |
|
|
|
· |
|
|
|
{if="$conference->connected"} |
|
|
|
{$count = $conference->presences()->count()} |
|
|
|
<span title="{$c->__('communitydata.sub', $count)}" |
|
|
|
{if="$conference->connected && $conference->presence->mucrole == 'moderator'"} |
|
|
|
class="moderator" |
|
|
|
{/if}> |
|
|
|
class="info |
|
|
|
{if="$conference->connected && $conference->presence->mucrole == 'moderator'"} |
|
|
|
moderator |
|
|
|
{/if} |
|
|
|
"> |
|
|
|
{$count} <i class="material-icons">people</i> |
|
|
|
{if="$conference->info && $conference->info->mucpublic"} |
|
|
|
<i class="material-icons" title="{$c->__('room.public_muc_text')}">wifi_tethering</i> |
|
|
|
@ -42,12 +41,14 @@ |
|
|
|
{if="$conference->info && !$conference->info->mucsemianonymous"} |
|
|
|
<i class="material-icons" title="{$c->__('room.nonanonymous_muc_text')}">face</i> |
|
|
|
{/if} |
|
|
|
</span> · |
|
|
|
</span> |
|
|
|
{elseif="isset($info) && $info->occupants > 0"} |
|
|
|
<span title="{$c->__('communitydata.sub', $info->occupants)}" |
|
|
|
{if="$conference->connected && $conference->presence->mucrole == 'moderator'"} |
|
|
|
class="moderator" |
|
|
|
{/if}> |
|
|
|
class="info |
|
|
|
{if="$conference->connected && $conference->presence->mucrole == 'moderator'"} |
|
|
|
moderator |
|
|
|
{/if} |
|
|
|
"> |
|
|
|
{$info->occupants} <i class="material-icons">people</i> |
|
|
|
{if="$conference->info && $conference->info->mucpublic"} |
|
|
|
<i class="material-icons" title="{$c->__('room.public_muc_text')}">wifi_tethering</i> |
|
|
|
@ -55,17 +56,15 @@ |
|
|
|
{if="$conference->info && !$conference->info->mucsemianonymous"} |
|
|
|
<i class="material-icons" title="{$c->__('room.nonanonymous_muc_text')}">face</i> |
|
|
|
{/if} |
|
|
|
</span> · |
|
|
|
</span> |
|
|
|
{/if} |
|
|
|
{if="$conference->connected"} |
|
|
|
|
|
|
|
<span title="{$conference->conference}">{$conference->name}</span> |
|
|
|
<span class="second"> |
|
|
|
{if="isset($info) && $info->description"} |
|
|
|
{$info->description} |
|
|
|
{else} |
|
|
|
{$conference->conference} |
|
|
|
{/if} |
|
|
|
{else} |
|
|
|
<span class="second">{$conference->conference}</span> |
|
|
|
{/if} |
|
|
|
</span> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
<span class="control icon active gray" onclick="event.stopPropagation(); RoomsUtils_ajaxRemove('{$conference->conference|echapJS}');"> |
|
|
|
|