Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded description text on Participant #26382

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 13 additions & 14 deletions templates/CRM/Event/Form/EventFees.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,15 @@
{assign var=isShowBillingBlock value=true}
<tr class="crm-event-eventfees-form-block-record_contribution">
<td class="label">{$form.record_contribution.label}</td>
<td>{$form.record_contribution.html}<br />
<span class="description">{ts}Check this box to enter payment information. You will also be able to generate a customized receipt.{/ts}</span>
</td>
<td>{$form.record_contribution.html}</td>
</tr>
<tr id="payment_information" class="crm-event-eventfees-form-block-payment_information">
<td class ='html-adjust' colspan=2>
<fieldset><legend>{ts}Payment Information{/ts}</legend>
<table id="recordContribution" class="form-layout" style="width:auto;">
<tr class="crm-event-eventfees-form-block-financial_type_id">
<td class="label">{$form.financial_type_id.label}<span class="crm-marker"> *</span></td>
<td>{$form.financial_type_id.html}<br /><span class="description">{ts}Select the appropriate financial type for this payment.{/ts}</span></td>
<td>{$form.financial_type_id.html}</td>
</tr>
<tr class="crm-event-eventfees-form-block-total_amount"><td class="label">{$form.total_amount.label}</td><td>{$form.total_amount.html}</td></tr>
<tr>
Expand Down Expand Up @@ -96,7 +94,7 @@
<table class="form-layout" style="width:auto;">
<tr class="crm-event-eventfees-form-block-send_receipt">
<td class="label">{if $paid}{ts}Send Confirmation and Receipt{/ts}{else}{ts}Send Confirmation{/ts}{/if}</td>
<td>{$form.send_receipt.html}<br>
<td>{$form.send_receipt.html}
{if $email}
{if $paid}
<span class="description">{ts 1=$email}Automatically email a confirmation and receipt to %1?{/ts}</span></td>
Expand All @@ -111,10 +109,10 @@
</tr>
<tr id='notice' class="crm-event-eventfees-form-block-receipt_text">
<td class="label">{$form.receipt_text.label}</td>
<td><span class="description">
{ts}Enter a message you want included at the beginning of the confirmation email. EXAMPLE: 'Thanks for registering for this event.'{/ts}
</span><br />
{$form.receipt_text.html|crmAddClass:huge}
<td>{$form.receipt_text.html|crmAddClass:huge}<br />
<span class="description">
{ts}Enter a message you want included at the beginning of the confirmation email.{/ts}
</span>
</td>
</tr>
</table>
Expand All @@ -124,7 +122,7 @@
<table class="form-layout" style="width:auto;">
<tr class="crm-event-eventfees-form-block-send_receipt">
<td class="label">{if $paid}{ts}Send Confirmation and Receipt{/ts}{else}{ts}Send Confirmation{/ts}{/if}</td>
<td>{$form.send_receipt.html}<br>
<td>{$form.send_receipt.html}
{if $paid}
<span class="description">{ts 1='<span id="email-address"></span>'}Automatically email a confirmation and receipt to %1?{/ts}</span>
{else}
Expand All @@ -138,10 +136,11 @@
</tr>
<tr id='notice' class="crm-event-eventfees-form-block-receipt_text">
<td class="label">{$form.receipt_text.label}</td>
<td><span class="description">
{ts}Enter a message you want included at the beginning of the confirmation email. EXAMPLE: 'Thanks for registering for this event.'{/ts}
</span><br />
{$form.receipt_text.html|crmAddClass:huge}</td>
<td>{$form.receipt_text.html|crmAddClass:huge}<br />
<span class="description">
{ts}Enter a message you want included at the beginning of the confirmation email.{/ts}
</span>
</td>
</tr>
</table>
</fieldset>
Expand Down
3 changes: 1 addition & 2 deletions templates/CRM/Event/Form/Participant.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@
</td>
</tr>
<tr class="crm-participant-form-block-source">
<td class="label">{$form.source.label}</td><td>{$form.source.html|crmAddClass:huge}<br />
<span class="description">{ts}Source for this registration (if applicable).{/ts}</span></td>
<td class="label">{$form.source.label}</td><td>{$form.source.html|crmAddClass:huge}</td>
</tr>
{if $participantMode}
<tr class="crm-participant-form-block-payment_processor_id">
Expand Down
8 changes: 3 additions & 5 deletions templates/CRM/Event/Form/ParticipantFeeSelection.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,10 @@ CRM.$(function($) {
{if $paymentInfo}
<tr><td></td><td>
<div class='crm-section'>
<div class='label'>{ts}Updated Fee(s){/ts}</div><div id="pricevalue" class='content updated-fee'></div>
<div class='label'>{ts}Updated Fee(s){/ts}</div><div id="pricevalue" class='content updated-fee'>&nbsp;</div>
<div class='label'>{ts}Total Paid{/ts}</div>
<div class='content'>
{$paymentInfo.paid|crmMoney}<br/>
<a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&action=browse&cid=`$contactId`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&context=transaction"}'><i class="crm-i fa-list-alt" aria-hidden="true"></i> {ts}view payments{/ts}</a>
{$paymentInfo.paid|crmMoney} <a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&action=browse&cid=`$contactId`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&context=transaction"}'><i class="crm-i fa-list-alt" aria-hidden="true"></i> {ts}view payments{/ts}</a>
</div>
<div class='label'><strong>{ts}Balance Owed{/ts}</strong></div><div class='content'><strong id='balance-fee'></strong></div>
</div>
Expand All @@ -137,8 +136,7 @@ CRM.$(function($) {
<table class="form-layout" style="width:auto;">
<tr class="crm-event-eventfees-form-block-send_receipt">
<td class="label">{ts}Send Confirmation{/ts}</td>
<td>{$form.send_receipt.html}<br>
<span class="description">{ts 1=$email}Automatically email a confirmation to %1?{/ts}</span>
<td>{$form.send_receipt.html} <span class="description">{ts 1=$email}Automatically email a confirmation to %1?{/ts}</span>
</td>
</tr>
<tr id="from-email" class="crm-event-eventfees-form-block-from_email_address">
Expand Down