Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
6b83d5bd | 5 | | Copyright CiviCRM LLC (c) 2004-2019 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | <div class="crm-block crm-form-block crm-participant-status-form-block"> | |
27 | <fieldset> | |
28 | <legend> | |
29 | {if $action eq 1}{ts}New Participant Status{/ts}{elseif $action eq 2}{ts}Edit Participant Status{/ts}{else}{ts}Delete Participant Status{/ts}{/if} | |
30 | </legend> | |
31 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
32 | {if $action eq 8} | |
33 | <div class="messages status no-popup"> | |
34 | <div class="icon inform-icon"></div> | |
35 | {ts}WARNING: Deleting this Participant Status will remove all of its settings.{/ts} {ts}Do you want to continue?{/ts} | |
36 | </div> | |
37 | <div>{include file="CRM/common/formButtons.tpl"} | |
38 | </div> | |
39 | {else} | |
40 | <table class="form-layout-compressed"> | |
41 | <tr class="crm-participant-status-form-block-name"> | |
42 | <td class="label">{$form.name.label}</td> | |
43 | <td>{$form.name.html}<br /> | |
44 | <span class="description">{ts}Name of this status type, for use in the code.{/ts}</span></td> | |
45 | </tr> | |
46 | ||
47 | <tr class="crm-participant-status-form-block-label"> | |
1d958464 | 48 | <td class="label">{$form.label.label}{if $action == 2} {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_participant_status_type' field='label' id=$id}{/if}</td> |
6a488035 TO |
49 | <td>{$form.label.html}<br /> |
50 | <span class="description">{ts}Display label for this status.{/ts}</span></td> | |
51 | </tr> | |
52 | ||
53 | <tr class="crm-participant-status-form-block-class"> | |
54 | <td class="label">{$form.class.label}</td> | |
55 | <td>{$form.class.html}<br /> | |
56 | <span class="description">{ts}The general class of this status. Participant counts are grouped by class on the CiviEvent Dashboard. Participants with a 'Pending' class status will be moved to 'Expired' status if Pending Participant Hours has elapsed (when the ParticipantProcessor.php background processing script is run).{/ts}</span></td> | |
57 | </tr> | |
58 | ||
59 | <tr class="crm-participant-status-form-block-is_reserved"> | |
60 | <td class="label">{$form.is_reserved.label}</td> | |
61 | <td>{$form.is_reserved.html}</td> | |
62 | </tr> | |
63 | <tr class="crm-participant-status-form-block-is_active"> | |
64 | <td class="label">{$form.is_active.label}</td> | |
65 | <td>{$form.is_active.html}</td> | |
66 | </tr> | |
67 | <tr class="crm-participant-status-form-block-is_counted"> | |
68 | <td class="label">{$form.is_counted.label}</td> | |
69 | <td>{$form.is_counted.html}<br /> | |
70 | <span class="description">{ts}Should a person with this status be counted as a participant for the purpose of controlling the Maximum Number of Participants?{/ts}</td> | |
71 | </tr> | |
72 | ||
73 | <tr class="crm-participant-status-form-block-weight"> | |
74 | <td class="label">{$form.weight.label}</td> | |
75 | <td>{$form.weight.html}</td> | |
76 | </tr> | |
77 | ||
78 | <tr class="crm-participant-status-form-block-visibility_id"> | |
79 | <td class="label">{$form.visibility_id.label}</td> | |
80 | <td>{$form.visibility_id.html}<br /> | |
81 | <span class="description">{ts}If you allow users to select a Participant Status by including that field on a profile - only statuses with 'Public' visibility are listed.{/ts}</td> | |
82 | </tr> | |
83 | </table> | |
84 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
85 | {/if} | |
86 | <div class="spacer"></div> | |
87 | </fieldset> | |
88 | </div> |