mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
24 lines
726 B
Smarty
24 lines
726 B
Smarty
<br />
|
|
{$group = ''}
|
|
{loop="$contacts"}
|
|
{if="$group != $value->groupname"}
|
|
<li class="subheader">
|
|
<p>{$value->groupname}</p>
|
|
</li>
|
|
{/if}
|
|
<li onclick="Chats_ajaxOpen('{$value->jid}'); Dialog.clear()">
|
|
{$url = $value->getPhoto('s')}
|
|
{if="$url"}
|
|
<span class="primary icon bubble">
|
|
<img src="{$url}">
|
|
</span>
|
|
{else}
|
|
<span class="primary icon bubble color {$value->jid|stringToColor}">
|
|
<i class="zmdi zmdi-account"></i>
|
|
</span>
|
|
{/if}
|
|
<p class="line">{$value->getTrueName()}</p>
|
|
<p class="line">{$value->jid}</p>
|
|
</li>
|
|
{$group = $value->groupname}
|
|
{/loop}
|