mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
39 lines
1.5 KiB
Smarty
39 lines
1.5 KiB
Smarty
{if="$subscriptions == null"}
|
|
<ul class="thick">
|
|
<div class="placeholder icon bookmark">
|
|
<h1>{$c->__('groups.empty_title')}</h1>
|
|
<h4>{$c->__('groups.empty_text1')}</h4>
|
|
<h4>{$c->__('groups.empty_text2')}</h4>
|
|
</li>
|
|
</ul>
|
|
{else}
|
|
<ul class="list divided spaced middle active all">
|
|
{loop="$subscriptions"}
|
|
{if="$c->checkNewServer($value)"}
|
|
<li class="subheader" onclick="Groups_ajaxDisco('{$value->server}')">
|
|
<span class="control icon gray"><i class="zmdi zmdi-chevron-right"></i></span>
|
|
<p>
|
|
{$value->server} - {$value->servicename}
|
|
</p>
|
|
</li>
|
|
{/if}
|
|
<li
|
|
data-server="{$value->server}"
|
|
data-node="{$value->node}"
|
|
title="{$value->server} - {$value->node}"
|
|
>
|
|
<span class="primary icon bubble color {$value->node|stringToColor}">{$value->node|firstLetterCapitalize}</span>
|
|
<p class="line normal">
|
|
{if="$value->name"}
|
|
{$value->name}
|
|
{else}
|
|
{$value->node}
|
|
{/if}
|
|
</p>
|
|
{if="$value->description"}
|
|
<p class="line">{$value->description|strip_tags}</p>
|
|
{/if}
|
|
</li>
|
|
{/loop}
|
|
</ul>
|
|
{/if}
|