{add_content key='groups.add_content.list.top' listType=$listType}
{if empty($hideCreateNew) && !empty($showCreate)}
{decorator name='button' class='ow_ic_add' id='btn-create-new-group' langLabel='groups+add_new'}
{if !empty($authMsg)} {script} $('#btn-create-new-group').click(function() { OW.authorizationLimitedFloatbox({$authMsg}); }); {/script} {else} {script}{literal} $('#btn-create-new-group').click(function(){location.href='{/literal}{url_for_route for="groups-create"}{literal}'}) {/literal}{/script} {/if} {/if} {$menu} {add_content key='groups.content.list.after_menu' listType=$listType}
{if empty($list) }
{text key="groups+listing_no_items_msg"}
{else} {foreach from=$list key='key' item='group'} {decorator name='ipc' addClass='ow_smallmargin' data=$group infoString="`$group.title`"} {/foreach}
{$paging} {/if}
{add_content key='groups.add_content.list.bottom' listType=$listType}