mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
39 lines
1.3 KiB
<ul class="list flex">
|
|
<li class="subheader block large">
|
|
<p>{$c->__('explore.explore')}</p>
|
|
</li>
|
|
{loop="$users"}
|
|
<li class="block" title="{$value->jid}">
|
|
{$url = $value->getPhoto('m')}
|
|
{if="$url"}
|
|
<span class="primary icon bubble
|
|
{if="$value->value"}
|
|
status {$presencestxt[$value->value]}
|
|
{/if}
|
|
" style="background-image: url({$url});">
|
|
</span>
|
|
{else}
|
|
<span class="primary icon bubble color {$value->jid|stringToColor}
|
|
{if="$value->value"}
|
|
status {$presencestxt[$value->value]}
|
|
{/if}
|
|
">
|
|
<i class="material-icons">person</i>
|
|
</span>
|
|
{/if}
|
|
|
|
<span class="control icon active gray" onclick="MovimUtils.reload('{$c->route('contact', $value->jid)}')">
|
|
<i class="material-icons">person</i>
|
|
</span>
|
|
|
|
<p class="normal line">
|
|
{$value->truename}
|
|
</p>
|
|
{if="!empty($value->description)"}
|
|
<p class="line" title="{$value->description|strip_tags}">
|
|
{$value->description|strip_tags|truncate:80}
|
|
</p>
|
|
{/if}
|
|
</li>
|
|
{/loop}
|
|
</ul>
|