From 081a5d0fa4c3475295f85325b2de5c9f0eaffda4 Mon Sep 17 00:00:00 2001 From: Nicol Date: Sat, 2 Dec 2023 19:22:21 +0000 Subject: [PATCH] Update CustomDataView.tpl Makes the contact dashboard accordions for custom fields accessible using the
pattern. --- templates/CRM/Contact/Page/View/CustomDataView.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Contact/Page/View/CustomDataView.tpl b/templates/CRM/Contact/Page/View/CustomDataView.tpl index b895d1cdd5..e3b1752516 100644 --- a/templates/CRM/Contact/Page/View/CustomDataView.tpl +++ b/templates/CRM/Contact/Page/View/CustomDataView.tpl @@ -14,17 +14,17 @@ {assign var="count" value=$customGroupCount%2} {if ($count eq $side) or $skipTitle} {foreach from=$customValues item=cd_edit key=cvID} -
-
+
+ {$cd_edit.title} -
+
{if $cvID eq 0} {assign var='cvID' value='-1'} {/if}
{include file="CRM/Contact/Page/View/CustomDataFieldView.tpl" customGroupId=$customGroupId customRecId=$cvID cgcount=$cgcount}
- +
{assign var="cgcount" value=$cgcount+1} {/foreach} {/if} -- 2.25.1