1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Roster/_roster_search_results.tpl
2015-12-21 22:59:03 +01:00

18 lines
600 B
Smarty

<ul class="list active middle">
{loop="$contacts"}
<li onclick="Roster.setFound('{$value->jid}')">
{$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>{$value->getTrueName()}</p>
<p>{$value->jid}</p>
</li>
{/loop}
</ul>