{* HEADER *}

{$group.name|escape}

{* MANAGE GROUP *} {if $can_manage_group} {/if} {* SORTING *}
{if empty($contacts) && $can_manage_group} {/if} {if $can_manage_group}

{$group.description|default:'[`Add group description`]'|escape|nl2br}

{elseif $group.description !== '[`Add group description`]'}

{$group.description|escape|nl2br}

{/if} {if $_location_enabled && empty($geocoding.key)}
{$group.location.address|escape}
{/if} {if $_location_enabled && !empty($geocoding.key)} {$group.location.address|escape}
{/if} {if !empty($contacts)} {if !empty($online) && $sort === 'last_seen'} {include file="./../users/Users.inc.html" contacts=$online list_context="group/`$group.id`"} {elseif $sort !== 'last_seen'} {include file="./../users/Users.inc.html" contacts=$contacts list_context="group/`$group.id`"} {else}

[`No users online.`]

{$_is_admin = $wa->user()->isAdmin($wa->app())} {$_has_rights = teamHelper::hasRights()} {$_can_drag = ( $_is_admin || $_has_rights )} {/if} {if !empty($offline) && $sort === 'last_seen'}

[`Offline`]

{/if} {else}

[`No users.`]

{/if}