From fff046e588d88b692b51507787a53e2b5843ca58 Mon Sep 17 00:00:00 2001 From: Francis Whittle Date: Wed, 24 May 2023 11:07:12 +1000 Subject: [PATCH] CIVICRM-2137 Add closing div and force renewal javascript back to makeContribution context for Membership block on Contributions --- .../Form/Contribution/MembershipBlock.tpl | 51 +++++++++---------- 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl b/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl index 848e2d73d7b1..b77d0ecd700b 100644 --- a/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl +++ b/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl @@ -7,9 +7,8 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{if $context EQ "makeContribution"} -
- +
+ {if $context EQ "makeContribution"}
{if $renewal_mode} @@ -53,6 +52,27 @@ {include file="CRM/Price/Form/PriceSet.tpl" extends="Membership"}
+ {literal} + + {/literal} {elseif $lineItem and $priceSetID AND !$is_quick_config} {assign var="totalAmount" value=$amount}
@@ -61,29 +81,6 @@
{include file="CRM/Price/Page/LineItem.tpl" context="Membership"}
- -
-{literal} - -{/literal} {elseif $membershipBlock AND !$is_quick_config}
{if $context EQ "makeContribution"} @@ -134,7 +131,7 @@
{/if}{* membership block end here *} - +
{if $membershipBlock AND $is_quick_config} {if $context neq "makeContribution" }