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/Presence/_presence.tpl
2016-03-15 16:28:38 +01:00

19 lines
732 B
Smarty

<li onclick="{$dialog} MovimTpl.hideMenu()">
{$url = $me->getPhoto('s')}
{if="$url"}
<span
class="primary icon bubble status {if="$presence->value != null"}{$presencetxt[$presence->value]}{/if}"
style="background-image: url({$me->getPhoto('s')})">
</span>
{else}
<span class="primary icon bubble color {$me->jid|stringToColor} status {if="$presence->value != null"}{$presencetxt[$presence->value]}{/if}">
<i class="zmdi zmdi-account"></i>
</span>
{/if}
<!--
<span class="control icon gray">
<i class="zmdi zmdi-edit"></i>
</span>-->
<p class="line">{$me->getTrueName()}</p>
<p class="line">{$presence->status}</p>
</li>