{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="top"} {/if} {strip} {if ! $single and $context eq 'Search' } {/if} {if $single} {else} {/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} {if $context != 'case'} {/if} {if !$single} {/if} {if $context != 'case'} {if $context EQ 'Search'} {/if} {/foreach} {* Dashboard only lists 10 most recent cases. *} {if $context EQ 'dashboard' and $limit and $pager->_totalItems GT $limit } {/if}
{$form.toggleSelect.html}{ts}ID{/ts} {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if}
{$form.$cbName.html}{$row.case_id} {ts}open section{/ts} {ts}open section{/ts} {$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} {if $row.casemanager_id}{$row.casemanager}{else}---{/if} {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}
{else} {/if}
» {ts}Find more cases{/ts}...
{/strip} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="bottom"} {/if} {* Build case details*} {literal} {/literal}