2015-08-03 11:35:01 +02:00
|
|
|
{if="$subscriptions == null"}
|
|
|
|
<ul class="thick">
|
2015-12-15 11:54:49 +01:00
|
|
|
<div class="placeholder icon bookmark">
|
2015-11-13 13:37:39 +01:00
|
|
|
<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}
|
2015-12-21 22:59:03 +01:00
|
|
|
<ul class="list divided spaced middle active all">
|
2015-08-03 11:35:01 +02:00
|
|
|
{loop="$subscriptions"}
|
|
|
|
{if="$c->checkNewServer($value)"}
|
2015-12-21 22:59:03 +01:00
|
|
|
<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>
|
2015-08-03 11:35:01 +02:00
|
|
|
</li>
|
|
|
|
{/if}
|
|
|
|
<li
|
|
|
|
data-server="{$value->server}"
|
|
|
|
data-node="{$value->node}"
|
|
|
|
title="{$value->server} - {$value->node}"
|
|
|
|
>
|
2015-12-21 22:59:03 +01:00
|
|
|
<span class="primary icon bubble color {$value->node|stringToColor}">{$value->node|firstLetterCapitalize}</span>
|
|
|
|
<p class="line normal">
|
2015-08-03 11:35:01 +02:00
|
|
|
{if="$value->name"}
|
|
|
|
{$value->name}
|
|
|
|
{else}
|
|
|
|
{$value->node}
|
|
|
|
{/if}
|
2015-12-21 22:59:03 +01:00
|
|
|
</p>
|
2015-08-03 11:35:01 +02:00
|
|
|
{if="$value->description"}
|
2015-12-21 22:59:03 +01:00
|
|
|
<p class="line">{$value->description|strip_tags}</p>
|
2015-08-03 11:35:01 +02:00
|
|
|
{/if}
|
|
|
|
</li>
|
|
|
|
{/loop}
|
|
|
|
</ul>
|
|
|
|
{/if}
|