#if ($groups) ## on the initial load of this template where no search has been performed, we don't want to show the results box
#set ($groupsExist = $groups && !$groups.isEmpty())
#if ($groupsExist) #set( $groups = $action.getGroups() ) #foreach ($group in $groups) #end
$action.getText("check.all") $action.getText("groupname.word")
  $htmlUtil.htmlEncode($group.name)
#else $soyTemplateRendererHelper.getRenderedTemplateHtml("com.atlassian.auiplugin:aui-experimental-soy-templates", "aui.message.info.soy", {"content" : $action.getText('no.groups.found').toString()}) #end #if ($groupsExist) #entityPagination($action.paginationSupport "$actionName?groupnameTerm=$!htmlUtil.urlEncode($groupnameTerm)&key=$!htmlUtil.urlEncode($key)&actionName=$!htmlUtil.urlEncode($actionName)&onPopupSubmit=$!htmlUtil.urlEncode($onPopupSubmit)&")
#end
#end