{* +--------------------------------------------------------------------+ | 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 $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} {icon condition=$row.is_reserved}{ts}Reserved{/ts}{/icon} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {icon condition=$row.is_counted}{ts}Counted{/ts}{/icon} {$row.weight} {$row.visibility} {$row.action|replace:'xx':$row.id}
{/strip} {if $action ne 1 and $action ne 2} {/if}
{/if}