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
2015-12-21 22:59:03 +01:00

21 lines
746 B
Smarty

<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>