From 00ad63b37fd80ad6c79aed00b7842bb36bbc0675 Mon Sep 17 00:00:00 2001 From: Damilare Adedoyin Date: Sat, 22 Apr 2023 10:41:39 +0100 Subject: [PATCH] Add regions to the Contribute Dashboard Page --- templates/CRM/Contribute/Page/DashBoard.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Page/DashBoard.tpl b/templates/CRM/Contribute/Page/DashBoard.tpl index 86ea41e613..f70ec47d71 100644 --- a/templates/CRM/Contribute/Page/DashBoard.tpl +++ b/templates/CRM/Contribute/Page/DashBoard.tpl @@ -9,6 +9,7 @@ *} {* CiviContribute DashBoard (launch page) *} {if $buildTabularView} +{crmRegion name="contribute-dashboard-reports"} @@ -33,9 +34,14 @@
{ts}Period{/ts}{ts}View details{/ts}...
+{/crmRegion} + {elseif $buildChart} +{crmRegion name="contribute-dashboard-charts"} {include file = "CRM/Contribute/Form/ContributionCharts.tpl"} +{/crmRegion} {else} +{crmRegion name="contribute-dashboard-summary"}

{ts}Contribution Summary{/ts} {help id="id-contribute-intro"}

-
+{/crmRegion} +{crmRegion name="contribute-dashboard-tables"} +
{if $pager->_totalItems}

{ts}Recent Contributions{/ts}

{include file="CRM/Contribute/Form/Selector.tpl" context="dashboard"}
{/if} +{/crmRegion} {/if} -- 2.25.1