From c8849f1cf5314485a62d75082719b748ac2fa785 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 13 Jan 2015 13:15:55 -0500 Subject: [PATCH] Participant view button cleanup --- templates/CRM/Contribute/Page/PaymentInfo.tpl | 4 ++-- templates/CRM/Event/Form/EventFees.tpl | 2 +- templates/CRM/Event/Form/ParticipantFeeSelection.tpl | 2 +- templates/CRM/Event/Form/ParticipantView.tpl | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/CRM/Contribute/Page/PaymentInfo.tpl b/templates/CRM/Contribute/Page/PaymentInfo.tpl index 065f6411e8..9df1e2e95a 100644 --- a/templates/CRM/Contribute/Page/PaymentInfo.tpl +++ b/templates/CRM/Contribute/Page/PaymentInfo.tpl @@ -63,7 +63,7 @@ CRM.$(function($) { {if $paymentInfo.paid > 0} {$paymentInfo.paid|crmMoney}
- + {ts}view payments{/ts} @@ -78,6 +78,6 @@ CRM.$(function($) { {elseif $paymentInfo.balance < 0} {assign var=paymentButtonName value='Record Refund'} {/if} -
{ts}{$paymentButtonName}{/ts}
+ {ts}{$paymentButtonName}{/ts} {/if} {/if} diff --git a/templates/CRM/Event/Form/EventFees.tpl b/templates/CRM/Event/Form/EventFees.tpl index 4a40a9fea6..c18a0ac567 100644 --- a/templates/CRM/Event/Form/EventFees.tpl +++ b/templates/CRM/Event/Form/EventFees.tpl @@ -41,7 +41,7 @@ -
{ts}Change Selections{/ts}
+ {else} diff --git a/templates/CRM/Event/Form/ParticipantFeeSelection.tpl b/templates/CRM/Event/Form/ParticipantFeeSelection.tpl index c4aebbc2f5..3abf6ef13d 100644 --- a/templates/CRM/Event/Form/ParticipantFeeSelection.tpl +++ b/templates/CRM/Event/Form/ParticipantFeeSelection.tpl @@ -139,7 +139,7 @@ CRM.$(function($) {
{ts}Total Paid{/ts}
{$paymentInfo.paid|crmMoney}
-
{ts}view payments{/ts} + {ts}view payments{/ts}
{ts}Balance Owed{/ts}
diff --git a/templates/CRM/Event/Form/ParticipantView.tpl b/templates/CRM/Event/Form/ParticipantView.tpl index 938121e16c..beebf06c0e 100644 --- a/templates/CRM/Event/Form/ParticipantView.tpl +++ b/templates/CRM/Event/Form/ParticipantView.tpl @@ -47,10 +47,10 @@ - @@ -110,7 +110,7 @@ {else} -- 2.25.1
{ts}Participant Name{/ts} - {$displayName} - + {$displayName} +
{ts}Selections{/ts} {include file="CRM/Price/Page/LineItem.tpl" context="Event"} {if $hasPayment or $parentHasPayment} -
{ts}Change Selections{/ts}
+ {ts}Change Selections{/ts} {/if}