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/Group/_group_empty.tpl
2015-12-21 22:59:03 +01:00

47 lines
1.8 KiB
Smarty

<div class="placeholder icon pages">
<h1>{$c->__('group.empty_title')}</h1>
<h4>{$c->__('group.empty_text')}</h4>
</div>
<ul class="list card thick">
<li class="block">
<span class="primary icon gray">
<i class="zmdi zmdi-help"></i>
</span>
<p class="all">
{$c->__('group.help_info1')}
</p>
<p>
{$c->___('group.help_info2', '<i class="zmdi zmdi-bookmark"></i>', '<i class="zmdi zmdi-plus"></i> ')}<br />
{$c->___('group.help_info3', '<i class="zmdi zmdi-edit"></i>')}<br />
</p>
<p>
{$c->___('group.help_info4', '<a href="'.$c->route('news').'"><i class="zmdi zmdi-receipt"></i> ','</a>')}
</p>
</li>
</ul>
<h2>{$c->__('group.servers')}</h2>
<ul class="list flex middle active">
{loop="$servers"}
{if="!filter_var($value->server, FILTER_VALIDATE_EMAIL)"}
<li class="block" onclick="Groups_ajaxDisco('{$value->server}')">
<span class="primary icon bubble color {$value->server|stringToColor}">
{$value->server|firstLetterCapitalize}
</span>
<p title="{$value->server} - {$value->name}">{$value->server} - {$value->name}</p>
<p>{$c->__('group.counter', $value->number)}</p>
</li>
{/if}
{/loop}
<li class="block large">
<span class="primary icon">
<i class="zmdi zmdi-search-for"></i>
</span>
<form>
<div>
<input placeholder="pubsub.server.com" onkeypress="
if(event.keyCode == 13) { Groups_ajaxDisco(this.value); return false; }" >
<label>{$c->__('group.search_server')}</label>
</div>
</form>
</li>
</ul>