From e33d662d8d5093aa4c7ff2c88c7dc19c9723ab60 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 11 Aug 2014 21:39:12 +0100 Subject: [PATCH] CRM-15093 - Add pager and details to contact-summary case tab --- templates/CRM/Case/Form/Selector.tpl | 42 ++++++---------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/templates/CRM/Case/Form/Selector.tpl b/templates/CRM/Case/Form/Selector.tpl index d4c0d451d9..7377dc66f4 100644 --- a/templates/CRM/Case/Form/Selector.tpl +++ b/templates/CRM/Case/Form/Selector.tpl @@ -23,9 +23,7 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{if $context EQ 'Search'} - {include file="CRM/common/pager.tpl" location="top"} -{/if} +{include file="CRM/common/pager.tpl" location="top"} {strip} @@ -34,11 +32,7 @@ {/if} - {if $single} - - {else} - - {/if} + {foreach from=$columnHeaders item=header} {/if} - {if $single } - - {/if} - {if $context != 'case'} - {/if} {if !$single} @@ -97,7 +86,6 @@ {$row.case_scheduled_activity_type}
{$row.case_scheduled_activity_date|crmDate}{else}---{/if} -{if $context != 'case'} @@ -113,7 +101,6 @@ cj('#{$list}{$row.case_id}_hide').hide(); cj('#minus{$list}{$row.case_id}_hide').hide(); -{/if} {/foreach} {* Dashboard only lists 10 most recent cases. *} @@ -126,28 +113,15 @@
{$form.toggleSelect.html}{ts}ID{/ts} @@ -60,10 +54,6 @@ {assign var=cbName value=$row.checkbox} {$form.$cbName.html}{$row.case_id} {ts}open section{/ts} + return false;">{ts}Show recent activities{/ts} {ts}open section{/ts} + return false;">{ts}Hide activities{/ts} {$row.sort_name}{if $row.phone}
{$row.phone}{/if}
{ts}Case ID{/ts}: {$row.case_id}
{$row.action|replace:'xx':$row.case_id}{$row.moreActions|replace:'xx':$row.case_id}
{/strip} -{if $context EQ 'Search'} - {include file="CRM/common/pager.tpl" location="bottom"} -{/if} +{include file="CRM/common/pager.tpl" location="bottom"} {* Build case details*} {literal} -- 2.25.1