Fix notice on New Pledge form
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 Oct 2023 00:58:07 +0000 (13:58 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 Oct 2023 00:58:07 +0000 (13:58 +1300)
templates/CRM/Pledge/Form/Pledge.tpl

index cf1850b2e8c565db37eaa372946f92d01e077f57..0f3b06e792e03c7fb9caa3a4a2b4856f7776e41e 100644 (file)
@@ -42,7 +42,7 @@
             <td class="label">{$form.amount.label}</td>
             <td>
               <span>{$form.currency.html|crmAddClass:eight}&nbsp;{$form.amount.html|crmAddClass:eight}</span>
-              {if $originalPledgeAmount}<div class="messages status no-popup">{icon icon="fa-info-circle"}{/icon}{ts 1=$originalPledgeAmount|crmMoney:$currency} Pledge total has changed due to payment adjustments. Original pledge amount was %1.{/ts}</div>{/if}
+              {if $action EQ 2 && $originalPledgeAmount}<div class="messages status no-popup">{icon icon="fa-info-circle"}{/icon}{ts 1=$originalPledgeAmount|crmMoney:$currency} Pledge total has changed due to payment adjustments. Original pledge amount was %1.{/ts}</div>{/if}
             </td>
           </tr>
           <tr class="crm-pledge-form-block-installments">