{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://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}