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/Notifs/_notifs_from.tpl

33 lines
1,001 B
Smarty
Raw Normal View History

2015-12-21 22:59:03 +01:00
<ul class="list active middle">
{if="$invitations"}
<li class="subheader">
2015-12-21 22:59:03 +01:00
<p>
<span class="info">{$invitations|count}</span>
{$c->__('notifs.title')}
</p>
</li>
{/if}
{loop="$invitations"}
{if="isset($value)"}
<li data-jid="{$value->jid}" class="action">
{$url = $value->getPhoto('s')}
{if="$url"}
2015-12-21 22:59:03 +01:00
<span class="primary icon bubble">
<img src="{$url}">
</span>
{else}
2015-12-21 22:59:03 +01:00
<span class="primary icon bubble color {$value->jid|stringToColor}">
<i class="zmdi zmdi-account"></i>
</span>
{/if}
2015-12-21 22:59:03 +01:00
<span class="control icon active green" data-jid="{$value->jid}">
<i class="zmdi zmdi-settings"></i>
</span>
2015-12-21 22:59:03 +01:00
<p class="normal line">
{$value->getTrueName()}
</p>
</li>
{/if}
{/loop}
</ul>