2015-12-21 22:59:03 +01:00
|
|
|
<ul class="list active middle">
|
2015-08-03 11:35:01 +02:00
|
|
|
{if="$invitations"}
|
|
|
|
<li class="subheader">
|
2015-12-21 22:59:03 +01:00
|
|
|
<p>
|
|
|
|
<span class="info">{$invitations|count}</span>
|
|
|
|
{$c->__('notifs.title')}
|
|
|
|
</p>
|
2015-08-03 11:35:01 +02:00
|
|
|
</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">
|
2015-08-03 11:35:01 +02:00
|
|
|
<img src="{$url}">
|
|
|
|
</span>
|
|
|
|
{else}
|
2015-12-21 22:59:03 +01:00
|
|
|
<span class="primary icon bubble color {$value->jid|stringToColor}">
|
2015-08-03 11:35:01 +02:00
|
|
|
<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>
|
2015-08-03 11:35:01 +02:00
|
|
|
</span>
|
2015-12-21 22:59:03 +01:00
|
|
|
<p class="normal line">
|
|
|
|
{$value->getTrueName()}
|
|
|
|
</p>
|
2015-08-03 11:35:01 +02:00
|
|
|
</li>
|
|
|
|
{/if}
|
|
|
|
{/loop}
|
|
|
|
</ul>
|