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
746 B
Smarty
Raw Normal View History

2016-03-15 16:28:38 +01:00
<li {if="$me"}class="oppose"{/if}>
{$url = $contact->getPhoto('s')}
{if="$url"}
<span class="{if="$me"}control{else}primary{/if} icon bubble">
{if="$me == null"}<a href="{$c->route('contact', $contact->jid)}">{/if}
<img src="{$url}">
{if="$me == null"}</a>{/if}
</span>
{else}
<span class="{if="$me"}control{else}primary{/if} icon bubble color {$contact->jid|stringToColor}">
{if="$me == null"}<a href="{$c->route('contact', $contact->jid)}">{/if}
<i class="zmdi zmdi-account"></i>
{if="$me == null"}</a>{/if}
</span>
{/if}
<div class="bubble">
<p></p>
<span class="info"></span>
</div>
</li>