From: eileenmcnaugton Date: Sat, 2 Jan 2016 07:03:54 +0000 (+1300) Subject: CRM-17764 add pledge block region to main contribution page X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b3bb9ae516db3a100b66b97d8b14e0ad20dd4d02;p=civicrm-core.git CRM-17764 add pledge block region to main contribution page --- diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index a57e86c0bf..ea39f40d4b 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -94,27 +94,29 @@ {/if} - {if $pledgeBlock} - {if $is_pledge_payment} -
-
{$form.pledge_amount.label} *
-
{$form.pledge_amount.html}
-
-
- {else} -
-
 
-
- {$form.is_pledge.html}  - {if $is_pledge_interval} - {$form.pledge_frequency_interval.html}  - {/if} - {$form.pledge_frequency_unit.html} {ts}for{/ts} {$form.pledge_installments.html} {ts}installments.{/ts} + {crmRegion name='contribution-main-pledge-block'} + {if $pledgeBlock} + {if $is_pledge_payment} +
+
{$form.pledge_amount.label} *
+
{$form.pledge_amount.html}
+
-
-
+ {else} +
+
 
+
+ {$form.is_pledge.html}  + {if $is_pledge_interval} + {$form.pledge_frequency_interval.html}  + {/if} + {$form.pledge_frequency_unit.html} {ts}for{/ts} {$form.pledge_installments.html} {ts}installments.{/ts} +
+
+
+ {/if} {/if} - {/if} + {/crmRegion} {if $form.is_recur}