From 815e8536c55d678d8559a7bd113ffbbd69874aad Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 1 May 2018 07:57:33 +1000 Subject: [PATCH] [NFC] FIx indenting in eventFees template --- templates/CRM/Event/Form/EventFees.tpl | 114 ++++++++++++------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/templates/CRM/Event/Form/EventFees.tpl b/templates/CRM/Event/Form/EventFees.tpl index 0b40719f362f..93887cb5d944 100644 --- a/templates/CRM/Event/Form/EventFees.tpl +++ b/templates/CRM/Event/Form/EventFees.tpl @@ -34,39 +34,39 @@   {$form.discount_id.label}{$form.discount_id.html} {/if} {if $action eq 2 and $hasPayment} {* Updating *} - {if $lineItem} - - {ts}Selections{/ts} - {include file="CRM/Price/Page/LineItem.tpl" context="Event"} - - {else} - - {ts}Event Level{/ts} - {$fee_level} {if $fee_amount}- {$fee_amount|crmMoney:$fee_currency}{/if} - - {/if} - - - - {ts}Change Selections{/ts} - + {if $lineItem} + + {ts}Selections{/ts} + {include file="CRM/Price/Page/LineItem.tpl" context="Event"} + + {else} + + {ts}Event Level{/ts} + {$fee_level} {if $fee_amount}- {$fee_amount|crmMoney:$fee_currency}{/if} - {else} {* New participant *} - {if $priceSet.fields} -
+ {/if} + + + + {ts}Change Selections{/ts} + + + {else} {* New participant *} + {if $priceSet.fields} +
{$form.amount.label} - {include file="CRM/Price/Form/PriceSet.tpl" extends="Event"} - +
{include file="CRM/Price/Form/PriceSet.tpl" extends="Event"} + {else} - {assign var=isRecordPayment value=0 } -
{ts}No active price fields found for this event!{/ts}
- {/if} -
+ {assign var=isRecordPayment value=0 } +
{ts}No active price fields found for this event!{/ts}
+ {/if} +
+ {/if} + + {/if} - - - {/if} {if $accessContribution and ! $participantMode and ($action neq 2 or !$rows.0.contribution_id or $onlinePendingContributionId) and $isRecordPayment and ! $registeredByParticipantId } {assign var=isShowBillingBlock value=true} @@ -93,7 +93,7 @@ {$form.trxn_id.label}{$form.trxn_id.html} {/if} {$form.contribution_status_id.label}{$form.contribution_status_id.html} - {$form.payment_instrument_id.label} *{$form.payment_instrument_id.html} {help id="payment_instrument_id" file="CRM/Contribute/Page/Tab.hlp"} + {$form.payment_instrument_id.label} *{$form.payment_instrument_id.html} {help id="payment_instrument_id" file="CRM/Contribute/Page/Tab.hlp"}
@@ -110,7 +110,7 @@ {if ($email OR $batchEmail) and $outBound_option != 2}
{if $paid}{ts}Registration Confirmation and Receipt{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - + {/if} - - - - + + + + - - + +
{if $paid}{ts}Send Confirmation and Receipt{/ts}{else}{ts}Send Confirmation{/ts}{/if} {$form.send_receipt.html}
{if $paid} @@ -119,17 +119,17 @@ {ts 1=$email}Automatically email a confirmation to %1?{/ts}
{$form.from_email_address.label}{$form.from_email_address.html} {help id="id-from_email" file="CRM/Contact/Form/Task/Email.hlp" isAdmin=$isAdmin}
{$form.from_email_address.label}{$form.from_email_address.html} {help id="id-from_email" file="CRM/Contact/Form/Task/Email.hlp" isAdmin=$isAdmin}
{$form.receipt_text.label} - {ts}Enter a message you want included at the beginning of the confirmation email. EXAMPLE: 'Thanks for registering for this event.'{/ts} -
- {$form.receipt_text.html|crmAddClass:huge} -
{$form.receipt_text.label} + {ts}Enter a message you want included at the beginning of the confirmation email. EXAMPLE: 'Thanks for registering for this event.'{/ts} +
+ {$form.receipt_text.html|crmAddClass:huge} +
@@ -137,25 +137,25 @@