From c1642a525ba1313978968d5a773a66797e7e07b2 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Wed, 28 Sep 2016 11:53:20 +0530 Subject: [PATCH] CRM-19420 - Fix ts in Contribution.tpl --- templates/CRM/Contribute/Form/Contribution.tpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index 4d509a865d..788cd26591 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -40,9 +40,12 @@ {/if} {if $contributionMode}
- {if $contactId} - {ts 1=$displayName 2=$contributionMode|upper}Use this form to {if $payNow} edit {else} submit a new {/if} contribution on behalf of %1. A - %2 transaction will be submitted using the selected payment processor.{/ts} + {if $contactId && $payNow} + {ts 1=$displayName 2=$contributionMode|upper}Use this form to edit a contribution on behalf of %1. A + %2 transaction will be submitted using the selected payment processor.{/ts} + {elseif $contactId} + {ts 1=$displayName 2=$contributionMode|upper}Use this form to submit a new contribution on behalf of %1. A + %2 transaction will be submitted using the selected payment processor.{/ts} {else} {ts 1=$displayName 2=$contributionMode|upper}Use this form to submit a new contribution. A %2 transaction will be submitted using the selected payment processor.{/ts} {/if} -- 2.25.1