{* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2018 | +--------------------------------------------------------------------+ | 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 $action eq 1 or $action eq 2 or $action eq 8} {include file="CRM/Admin/Form/ParticipantStatusType.tpl"} {else}
{ts}Manage event participant statuses below. Enable selected statuses to allow event waitlisting and/or participant approval.{/ts} {help id="id-disabled_statuses"}
{strip} {* handle enable/disable actions*} {include file="CRM/common/enableDisableApi.tpl"} {foreach from=$rows item=row} {/foreach}
{ts}Label{/ts} {ts}Name (Status ID){/ts} {ts}Class{/ts} {ts}Reserved?{/ts} {ts}Active?{/ts} {ts}Counted?{/ts} {ts}Order{/ts} {ts}Visibility{/ts}
{$row.label} {$row.name} ({$row.id}) {$row.class} {if $row.is_reserved}{ts}Reserved{/ts}{/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_counted} {ts}Counted{/ts}{/if} {$row.weight} {$row.visibility} {$row.action|replace:'xx':$row.id}
{/strip} {if $action ne 1 and $action ne 2} {/if}
{/if}