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

20 lines
727 B
Smarty
Raw Normal View History

2016-03-15 16:28:38 +01:00
<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}
2016-03-29 14:12:33 +02:00
<span class="control icon">
<i class="zmdi zmdi-caret-down"></i>
</span>
<p class="line bold">{$me->getTrueName()}</p>
2016-03-15 16:28:38 +01:00
<p class="line">{$presence->status}</p>
</li>