</div>
<table class="form-layout-compressed">
<tr>
- <td class="font-size12pt label"><strong>{ts}Participant{/ts}</strong></td><td class="font-size12pt"><strong>{$displayName}</strong></td>
+ <td class="font-size12pt label"><strong>{if $component eq 'event'}{ts}Participant{/ts}{else}{ts}Contact{/ts}{/if}</strong></td><td class="font-size12pt"><strong>{$displayName}</strong></td>
</tr>
{if $contributionMode}
<tr class="crm-payment-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="crm-marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>
{/if}
- <tr>
- <td class='label'>{ts}Event{/ts}</td><td>{$eventName}</td>
- </tr>
+ {if $eventName}
+ <tr>
+ <td class='label'>{ts}Event{/ts}</td><td>{$eventName}</td>
+ </tr>
+ {/if}
<tr class="crm-payment-form-block-total_amount">
<td class="label">{$form.total_amount.label}</td>
<td>