CRM-19420 - Fix ts in Contribution.tpl
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 28 Sep 2016 06:23:20 +0000 (11:53 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 28 Sep 2016 06:23:20 +0000 (11:53 +0530)
templates/CRM/Contribute/Form/Contribution.tpl

index 4d509a865d6b83546598a24d75525c79892a8a99..788cd265919a830d341843ebbedfd414464f1a4f 100644 (file)
   {/if}
   {if $contributionMode}
   <div class="help">
-    {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. <strong>A
-        %2 transaction will be submitted</strong> 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. <strong>A
+      %2 transaction will be submitted</strong> 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. <strong>A
+      %2 transaction will be submitted</strong> using the selected payment processor.{/ts}
     {else}
       {ts 1=$displayName 2=$contributionMode|upper}Use this form to submit a new contribution. <strong>A %2 transaction will be submitted</strong> using the selected payment processor.{/ts}
     {/if}