2015-08-03 11:35:01 +02:00
|
|
|
{if="$subscriptions == null"}
|
|
|
|
<ul class="thick">
|
2015-11-13 13:37:39 +01:00
|
|
|
<div class="placeholder icon pages">
|
|
|
|
<h1>{$c->__('groups.empty_title')}</h1>
|
|
|
|
<h4>{$c->__('groups.empty_text1')}</h4>
|
|
|
|
<h4>{$c->__('groups.empty_text2')}</h4>
|
2015-08-03 11:35:01 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{else}
|
|
|
|
<ul class="divided spaced middle active">
|
|
|
|
{loop="$subscriptions"}
|
|
|
|
{if="$c->checkNewServer($value)"}
|
|
|
|
<li class="subheader">
|
2015-08-19 11:28:28 +02:00
|
|
|
<a href="#" onclick="Groups_ajaxDisco('{$value->server}')">{$value->server} - {$value->servicename}</a>
|
2015-08-03 11:35:01 +02:00
|
|
|
</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}
|