From: Coleman Watts Date: Tue, 13 Jan 2015 18:15:55 +0000 (-0500) Subject: Participant view button cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c8849f1cf5314485a62d75082719b748ac2fa785;p=civicrm-core.git Participant view button cleanup --- 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}
{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}