{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {capture assign=expandIconURL}{ts}open section{/ts}{/capture} {strip} {counter start=0 skip=1 print=false} {foreach from=$rows item=row} {if $list eq 'upcoming'} {elseif $list eq 'recent'} {/if} {/foreach} {* Dashboard only lists 10 most recent casess. *} {if $context EQ 'dashboard' and $limit and $pager->_totalItems GT $limit } {/if}
{ts}Contact{/ts} {ts}Subject{/ts} {ts}Status{/ts} {ts}Type{/ts} {ts}My Role{/ts} {ts}Manager{/ts} {if $list EQ 'upcoming'}{ts}Next Sched.{/ts}{elseif $list EQ 'recent'}{ts}Most Recent{/ts}{/if}
{*  {$row.contact_type_icon}
*} {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_upcoming_activity_viewable} {$row.case_scheduled_activity_type} {else} {$row.case_scheduled_activity_type} {/if}    {if $row.case_upcoming_activity_editable} {/if}
{$row.case_scheduled_activity_date|crmDate}
{if $row.case_recent_activity_viewable} {$row.case_recent_activity_type} {else} {$row.case_recent_activity_type} {/if} {if $row.case_recent_activity_editable and $row.case_recent_activity_type_name != 'Inbound Email' && $row.case_recent_activity_type_name != 'Email'}   {/if}
{$row.case_recent_activity_date|crmDate}
{$row.action}{$row.moreActions}
» {ts}Find more cases{/ts}...
{/strip} {* Build case details*} {literal} {/literal} {include file="CRM/Case/Form/ActivityChangeStatusJs.tpl"}