mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
<ul class="list thick">
|
|
<li>
|
|
{if="$subscription == null"}
|
|
<a class="button oppose green color" title="{$c->__('group.subscribe')}"
|
|
onclick="Group_ajaxAskSubscribe('{$item->server|echapJS}', '{$item->node|echapJS}')">
|
|
Join
|
|
</a>
|
|
{else}
|
|
<a class="button oppose flat" title="{$c->__('group.unsubscribe')}"
|
|
onclick="Group_ajaxAskUnsubscribe('{$item->server|echapJS}', '{$item->node|echapJS}')">
|
|
Leave
|
|
</a>
|
|
{/if}
|
|
<span id="back" class="primary icon active gray" onclick="history.back()">
|
|
<i class="zmdi zmdi-arrow-back"></i>
|
|
</span>
|
|
<p class="line">
|
|
{if="$item != null"}
|
|
{if="$item->name"}
|
|
{$item->name}
|
|
{else}
|
|
{$item->node}
|
|
{/if}
|
|
{else}
|
|
{$node}
|
|
{/if}
|
|
</p>
|
|
{if="$item != null && $item->description"}
|
|
<p class="line" title="{$item->description|strip_tags}">
|
|
{$item->description|strip_tags}
|
|
</p>
|
|
{else}
|
|
<p class="line">{$server}</p>
|
|
{/if}
|
|
</li>
|
|
</ul>
|