X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContribute%2FForm%2FContribution.tpl;h=ccc742dad4a3868372ec5e6807647e5e9e9ba578;hb=c67e7149bbeff4fcec6ea0c70bb2824c89c927f8;hp=8d7d73fd9852253e4f68ab63db65f073867a8425;hpb=781d648b079fb95e127b2a8077a8ecf0546f9e19;p=civicrm-core.git diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index 8d7d73fd98..ccc742dad4 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -2,7 +2,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2018 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -31,13 +31,6 @@ {include file="CRM/Contribute/Form/AdditionalInfo/$formType.tpl"} {else} {include file="CRM/Contribute/Form/AdditionalInfo/Payment.tpl"} -
- - {if !$email and $action neq 8 and $context neq 'standalone'} -
-
 {ts}You will not be able to send an automatic email receipt for this contribution because there is no email address recorded for this contact. If you want a receipt to be sent when this contribution is recorded, click Cancel and then click Edit from the Summary tab to add an email address before recording the contribution.{/ts} -
- {/if} {if $contributionMode}
{if $contactId && $payNow} @@ -51,6 +44,15 @@ {/if}
{/if} + +
+ + {if !$email and $action neq 8 and $context neq 'standalone'} +
+
 {ts}You will not be able to send an automatic email receipt for this contribution because there is no email address recorded for this contact. If you want a receipt to be sent when this contribution is recorded, click Cancel and then click Edit from the Summary tab to add an email address before recording the contribution.{/ts} +
+ {/if} + {if $action eq 8}
@@ -139,7 +141,7 @@ {if $contributionMode && $processorSupportsFutureStartDate} {ts}Start Date{/ts} - {if $hideCalender neq true}{include file="CRM/common/jcalendar.tpl" elementName=receive_date}{else}{$receive_date|crmDate}{/if}
+ {if $hideCalender neq true}{$form.receive_date.html}{/if}
{ts}You can set a start date for recurring contributions and the first payment will be on that date. For a single post-dated contribution you must select recurring and choose one installment{/ts} @@ -179,7 +181,7 @@ {$form.cancel_date.label} {if $hideCalendar neq true} - {include file="CRM/common/jcalendar.tpl" elementName=cancel_date} + {$form.cancel_date.html} {else} {$form.cancel_date.value|crmDate} {/if} @@ -203,7 +205,7 @@ {$form.receive_date.label} - {include file="CRM/common/jcalendar.tpl" elementName=receive_date}
+ {$form.receive_date.html}
{ts}The date this contribution was received.{/ts} @@ -231,11 +233,11 @@ {/if} {$form.from_email_address.label} - {$form.from_email_address.html} + {$form.from_email_address.html} {help id="id-from_email" file="CRM/Contact/Form/Task/Email.hlp" isAdmin=$isAdmin} {$form.receipt_date.label} - {include file="CRM/common/jcalendar.tpl" elementName=receipt_date}
+ {$form.receipt_date.html}
{ts}Date that a receipt was sent to the contributor.{/ts}