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" }