Skip to content

Commit

Permalink
Merge pull request #16269 from wmortada/fix-auto-renew-text
Browse files Browse the repository at this point in the history
dev/core#1519 Fix auto renew text
  • Loading branch information
seamuslee001 authored Jan 10, 2020
2 parents 4599ffc + cbc5bc5 commit 95dfd04
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions templates/CRM/Member/Form/Membership.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,25 @@
{include file="CRM/Member/Form/MembershipCommon.tpl"}
{if $emailExists and $isEmailEnabledForSite}
<tr id="send-receipt" class="crm-membership-form-block-send_receipt">
<td class="label">{$form.send_receipt.label}</td><td>{$form.send_receipt.html}<br />
<span class="description">{ts 1=$emailExists}Automatically email a membership confirmation and receipt to %1? OR if the payment is from a different contact, this email will only go to them.{/ts}</span></td>
<span class="auto-renew-text">{ts}For auto-renewing memberships the emails are sent when each payment is received{/ts}</span>
<td class="label">{$form.send_receipt.label}</td>
<td>
{$form.send_receipt.html}<br />
<span class="description">
{ts 1=$emailExists}Automatically email a membership confirmation and receipt to %1? OR if the payment is from a different contact, this email will only go to them.{/ts}
<span class="auto-renew-text">{ts}For auto-renewing memberships the emails are sent when each payment is received{/ts}</span>
</span>
</td>
</tr>
{elseif $context eq 'standalone' and $isEmailEnabledForSite}
{elseif $context eq 'standalone' and $isEmailEnabledForSite}
<tr id="email-receipt" style="display:none;">
<td class="label">{$form.send_receipt.label}</td><td>{$form.send_receipt.html}<br />
<span class="description">{ts}Automatically email a membership confirmation and receipt to {/ts}<span id="email-address"></span>? {ts}OR if the payment is from a different contact, this email will only go to them.{/ts}</span></td>
<span class="auto-renew-text">{ts}For auto-renewing memberships the emails are sent when each payment is received{/ts}</span>
<td class="label">{$form.send_receipt.label}</td>
<td>
{$form.send_receipt.html}<br />
<span class="description">
{ts}Automatically email a membership confirmation and receipt to {/ts}<span id="email-address"></span>? {ts}OR if the payment is from a different contact, this email will only go to them.{/ts}
<span class="auto-renew-text">{ts}For auto-renewing memberships the emails are sent when each payment is received{/ts}</span>
</span>
</td>
</tr>
{/if}
<tr id="fromEmail" style="display: none" class="crm-contactEmail-form-block-fromEmailAddress crm-email-element">
Expand Down

0 comments on commit 95dfd04

Please sign in to comment.