From e75fdde3d203746982d41ada3774ae91bee1f653 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Wed, 24 May 2023 22:16:08 -0600 Subject: [PATCH] Remove unneeded text on Contribute Form --- CRM/Contribute/Form/AdditionalInfo.php | 2 +- .../Form/AdditionalInfo/AdditionalDetail.tpl | 15 +++++---------- .../CRM/Contribute/Form/AdditionalPayment.tpl | 8 +++++--- .../CRM/Contribute/Form/Contribution.tpl | 19 ++++++------------- 4 files changed, 17 insertions(+), 27 deletions(-) diff --git a/CRM/Contribute/Form/AdditionalInfo.php b/CRM/Contribute/Form/AdditionalInfo.php index e3ff273dfc..f14aa60698 100644 --- a/CRM/Contribute/Form/AdditionalInfo.php +++ b/CRM/Contribute/Form/AdditionalInfo.php @@ -127,7 +127,7 @@ class CRM_Contribute_Form_AdditionalInfo { } $form->add('select', 'contribution_page_id', - ts('Online Contribution Page'), + ts('Contribution Page'), [ '' => ts('- select -'), ] + diff --git a/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl b/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl index 5514bf8bd0..2a6bce99b0 100644 --- a/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl +++ b/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl @@ -13,15 +13,10 @@ {$form.contribution_page_id.html|crmAddClass:twenty} - {$form.non_deductible_amount.html}
- {ts}Non-deductible portion of this contribution.{/ts}
- {$form.fee_amount.html}
- {ts}Processing fee for this transaction (if applicable).{/ts}
- {$form.invoice_id.html}
- {ts}Unique internal reference ID for this contribution.{/ts}
- {$form.creditnote_id.html}
- {ts}Unique internal Credit Note ID for this contribution.{/ts}
- + {$form.non_deductible_amount.html} + {$form.fee_amount.html} + {$form.invoice_id.html} + {$form.creditnote_id.html} +
{$form.contribution_page_id.label}
{$form.note.label}{$form.note.html}
{$form.non_deductible_amount.label}
{$form.fee_amount.label}
{$form.invoice_id.label}
{$form.creditnote_id.label}
{$form.thankyou_date.label}{$form.thankyou_date.html}
- {ts}Date that a thank-you message was sent to the contributor.{/ts}
{$form.non_deductible_amount.label}
{$form.fee_amount.label}
{$form.invoice_id.label}
{$form.creditnote_id.label}
{$form.thankyou_date.label}{$form.thankyou_date.html}
diff --git a/templates/CRM/Contribute/Form/AdditionalPayment.tpl b/templates/CRM/Contribute/Form/AdditionalPayment.tpl index 3a6b3e8b7f..6c01148419 100644 --- a/templates/CRM/Contribute/Form/AdditionalPayment.tpl +++ b/templates/CRM/Contribute/Form/AdditionalPayment.tpl @@ -60,7 +60,7 @@ {$form.is_email_receipt.label} - {$form.is_email_receipt.html}  + {$form.is_email_receipt.html} {ts 1=$email}Automatically email a receipt to %1?{/ts} @@ -95,8 +95,10 @@ {$form.trxn_id.label} {$form.trxn_id.html} {help id="id-trans_id"} - {$form.fee_amount.label}{$form.fee_amount.html}
- {ts}Processing fee for this transaction (if applicable).{/ts} + + {$form.fee_amount.label} + {$form.fee_amount.html} + {/if} diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index 13d8deb695..21aa7a9d56 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -93,7 +93,6 @@ {if !empty($ppID)}{ts}adjust payment amount{/ts}{help id="adjust-payment-amount"}{/if}
- {if $hasPriceSets}{ts}Alternatively, you can use a price set.{/ts}{/if}
{/if} @@ -206,14 +205,15 @@ {if empty($is_template) and $email and $outBound_option != 2} {$form.is_email_receipt.label} - {$form.is_email_receipt.html}  + {$form.is_email_receipt.html} {ts 1=$email}Automatically email a receipt for this payment to %1?{/ts} {elseif empty($is_template) and $context eq 'standalone' and $outBound_option != 2 } {$form.is_email_receipt.label} - {$form.is_email_receipt.html} {ts}Automatically email a receipt for this payment to {/ts}? + {$form.is_email_receipt.html} + {ts}Automatically email a receipt for this payment to {/ts}? {/if} @@ -226,9 +226,7 @@ {if empty($is_template)} {$form.receipt_date.label} - {$form.receipt_date.html}
- {ts}Date that a receipt was sent to the contributor.{/ts} - + {$form.receipt_date.html} {/if} {if !empty($form.payment_processor_id)} @@ -304,16 +302,11 @@ {$form.pcp_roll_nickname.label} - {$form.pcp_roll_nickname.html|crmAddClass:big}
-
{ts}Name or nickname contributor wants to be displayed in the Honor Roll. Enter "Anonymous" for anonymous contributions.{/ts}
- + {$form.pcp_roll_nickname.html|crmAddClass:big} {$form.pcp_personal_note.label} - - {$form.pcp_personal_note.html} -
{ts}Personal message submitted by contributor for display in the Honor Roll.{/ts}
- + {$form.pcp_personal_note.html} -- 2.25.1