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/Chat/_chat_bubble.tpl

22 lines
678 B
Smarty
Raw Normal View History

<li {if="$me"}class="oppose"{/if}>
{$url = $contact->getPhoto('s')}
{if="$url"}
{if="$me == null"}<a href="{$c->route('contact', $contact->jid)}">{/if}
<span class="icon bubble">
<img src="{$url}">
</span>
{if="$me == null"}</a>{/if}
{else}
{if="$me == null"}<a href="{$c->route('contact', $contact->jid)}">{/if}
<span class="icon bubble color {$contact->jid|stringToColor}">
<i class="zmdi zmdi-account"></i>
</span>
{if="$me == null"}</a>{/if}
{/if}
<div class="bubble">
<div></div>
<span class="info"></span>
</div>
</li>