mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
39 lines
1.4 KiB
Smarty
39 lines
1.4 KiB
Smarty
{if="$subscriptions == null"}
|
|
<ul class="thick">
|
|
<li class="condensed">
|
|
<span class="icon bubble color green">
|
|
<i class="zmdi zmdi-bookmark"></i>
|
|
</span>
|
|
<span>{$c->__('groups.empty_title')}</span>
|
|
<p>{$c->__('groups.empty_text1')} {$c->__('groups.empty_text2')}</p>
|
|
</li>
|
|
</ul>
|
|
{else}
|
|
<ul class="divided spaced middle active">
|
|
{loop="$subscriptions"}
|
|
{if="$c->checkNewServer($value)"}
|
|
<li class="subheader">
|
|
<a href="#" onclick="Groups_ajaxDisco('{$value->server}')">{$value->server} - {$value->servicename}</a>
|
|
</li>
|
|
{/if}
|
|
<li
|
|
{if="$value->description"}class="condensed"{/if}
|
|
data-server="{$value->server}"
|
|
data-node="{$value->node}"
|
|
title="{$value->server} - {$value->node}"
|
|
>
|
|
<span class="icon bubble color {$value->node|stringToColor}">{$value->node|firstLetterCapitalize}</span>
|
|
<span>
|
|
{if="$value->name"}
|
|
{$value->name}
|
|
{else}
|
|
{$value->node}
|
|
{/if}
|
|
</span>
|
|
{if="$value->description"}
|
|
<p class="wrap">{$value->description|strip_tags}</p>
|
|
{/if}
|
|
</li>
|
|
{/loop}
|
|
</ul>
|
|
{/if}
|