From 2020b31190d810bd51c51e1b321e1dc10562b533 Mon Sep 17 00:00:00 2001 From: Jon goldberg - Linux laptop Date: Tue, 30 Apr 2013 10:09:33 -0700 Subject: [PATCH] Show amount next to soft credit --- .../CRM/Contribute/Form/ContributionView.tpl | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Contribute/Form/ContributionView.tpl b/templates/CRM/Contribute/Form/ContributionView.tpl index e1b4f819be..2b930414e2 100644 --- a/templates/CRM/Contribute/Form/ContributionView.tpl +++ b/templates/CRM/Contribute/Form/ContributionView.tpl @@ -190,14 +190,25 @@ {$thankyou_date|crmDate} {/if} + {if $softCreditToName and !$pcp_id} {* We show soft credit name with PCP section if contribution is linked to a PCP. *} - - {ts}Soft Credit To{/ts} - {$softCreditToName} - - {/if} - +
+
+ {ts}Soft Credit{/ts} +
+
+ + + + + + + +
{ts}Soft Credit To{/ts}{$softCreditToName}{ts}Amount{/ts}{$soft_credit_amount|crmMoney:$currency}
+
+
+ {/if} {if $premium}
-- 2.25.1