{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="top"} {/if} {strip} {if ! $single and $context eq 'Search' } {/if} {foreach from=$columnHeaders item=header} {/foreach} {counter start=0 skip=1 print=false} {foreach from=$rows item=row} {if ! $single } {if $context eq 'Search' } {assign var=cbName value=$row.checkbox} {/if} {/if} {assign var="participant_id" value=$row.participant_id} {if $lineItems.$participant_id} {else} {/if} {/foreach} {* Link to "View all participants" for Dashboard and Contact Summary *} {if $limit and $pager->_totalItems GT $limit } {if $context EQ 'event_dashboard' } {elseif $context eq 'participant' } {/if} {/if}
{$form.toggleSelect.html} {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if}
{$form.$cbName.html}{$row.contact_type} {$row.sort_name}{$row.event_title} {if $contactId}
({ts}participants{/ts}){/if}
{foreach from=$lineItems.$participant_id item=line name=lineItemsIter} {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if}: {$line.qty} {if ! $smarty.foreach.lineItemsIter.last}
{/if} {/foreach}
{if !$row.paid && !$row.participant_fee_level} {ts}(no fee){/ts}{else} {$row.participant_fee_level}{/if}{$row.participant_fee_amount|crmMoney:$row.participant_fee_currency} {$row.participant_register_date|truncate:10:''|crmDate} {$row.event_start_date|truncate:10:''|crmDate} {if $row.event_end_date && $row.event_end_date|date_format:"%Y%m%d" NEQ $row.event_start_date|date_format:"%Y%m%d"}
- {$row.event_end_date|truncate:10:''|crmDate} {/if}
{$row.participant_status} {$row.participant_role_id} {$row.action|replace:'xx':$participant_id}
{ts}Find more event participants{/ts}...
{ts}View all events for this contact{/ts}...
{/strip} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="bottom"} {/if}