{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if $showListing} {if $dontShowTitle neq 1}

{ts}{$customGroupTitle}{/ts}

{/if} {if $pageViewType eq 'customDataView'} {assign var='dialogId' value='custom-record-dialog'} {else} {assign var='dialogId' value='profile-dialog'} {/if} {if ($records and $headers) or ($pageViewType eq 'customDataView')} {include file="CRM/common/jsortable.tpl"}
{strip} {if $pageViewType eq 'customDataView'} {foreach from=$headers key=recId item=head} {/foreach} {literal} {/literal} {else} {foreach from=$headers key=recId item=head} {/foreach} {foreach from=$dateFields key=fieldId item=v} {/foreach} {foreach from=$records key=recId item=rows} {foreach from=$headers key=hrecId item=head} {/foreach} {foreach from=$dateFieldsVals key=fid item=rec} {/foreach} {/foreach} {/if}
{ts}{$head}{/ts}  
{ts}{$head}{/ts} 
{$rows.$hrecId}{$rows.action}{$rec.$recId}
{/strip}
{elseif !$records}
  {ts 1=$customGroupTitle}No records of type '%1' found.{/ts}
{/if} {if !$reachedMax}
{/if} {/if}