{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {include file="CRM/common/pager.tpl" location="top"} {strip} {if ! $single and $context eq 'Search' } {/if} {foreach from=$columnHeaders item=header} {/foreach} {counter start=0 skip=1 print=false} {foreach from=$rows item=row} {if $context eq 'Search' && !$single} {assign var=cbName value=$row.checkbox} {/if} {if !$single} {/if} {/foreach} {* Dashboard only lists 10 most recent cases. *} {if $context EQ 'dashboard' and $limit and $pager->_totalItems GT $limit } {/if}
{$form.toggleSelect.html} {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if}
{$form.$cbName.html} {$row.sort_name}{if $row.phone}
{$row.phone}{/if}
{ts}Case ID{/ts}: {$row.case_id}
{$row.case_subject} {$row.case_status} {$row.case_type} {if $row.case_role}{$row.case_role}{else}---{/if} {$row.casemanager} {if $row.case_recent_activity_type} {$row.case_recent_activity_type}
{$row.case_recent_activity_date|crmDate}{else}---{/if}
{if $row.case_scheduled_activity_type} {$row.case_scheduled_activity_type}
{$row.case_scheduled_activity_date|crmDate}{else}---{/if}
{$row.action|replace:'xx':$row.case_id}{$row.moreActions|replace:'xx':$row.case_id}
{ts}Find more cases{/ts}...
{/strip} {include file="CRM/common/pager.tpl" location="bottom"} {crmScript file='js/crm.expandRow.js'}