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/Login/_login_sessions.tpl
2015-12-15 11:54:49 +01:00

34 lines
1.1 KiB
Smarty

<section>
<h3>{$c->__('account.title')}</h3>
<br />
<ul class="active">
{loop="$sessions"}
<li id="{$value->jid}" class="action condensed" title="{$value->jid}">
<div class="action">
<i class="zmdi zmdi-close"></i>
</div>
{$url = $value->getPhoto('s')}
{if="$url"}
<span class="icon bubble">
<img src="{$url}">
</span>
{else}
<span class="icon bubble color {$value->jid|stringToColor}">
<i class="zmdi zmdi-account"></i>
</span>
{/if}
<span>{$value->getTrueName()}</span>
<p>{$value->jid}</p>
</li>
{/loop}
</ul>
</section>
<div>
<a class="button flat" href="{$c->route('about')}" title="{$c->__('page.about')}">
<i class="zmdi zmdi-help"></i>
</a>
<a class="button flat" href="{$c->route('admin')}" title="{$c->__('page.administration')}">
<i class="zmdi zmdi-pages"></i>
</a>
<span class="button flat" onclick="Login.toForm()">{$c->__('form.another_account')}</span>
</div>