Commit | Line | Data |
---|---|---|
8ffdec17 ARW |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.5 | | |
4 | +--------------------------------------------------------------------+ | |
5 | | Copyright CiviCRM LLC (c) 2004-2014 | | |
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 | {* This template is used for adding/editing a case type. *} | |
27 | <h3>{if $action eq 1}{ts}New Case Type{/ts}{elseif $action eq 2}{ts}Edit Case Type{/ts}{else}{ts}Delete Case Type{/ts}{/if}</h3> | |
28 | <div class="crm-block crm-form-block crm-case-type-form-block"> | |
29 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
30 | {if $action eq 8} | |
31 | <div class="messages status no-popup"> | |
32 | <div class="icon inform-icon"></div> | |
33 | {ts}WARNING: Deleting this option will result in the loss of all case records which use the option.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts} | |
34 | </div> | |
35 | {else} | |
36 | <table class="form-layout-compressed"> | |
37 | <tr class="crm-case-type-form-block-title"> | |
38 | <td class="label">{$form.title.label}</td> | |
39 | <td>{$form.title.html}</td> | |
40 | </tr> | |
41 | <tr class="crm-case-type-form-block-description"> | |
42 | <td class="label">{$form.description.label}</td> | |
43 | <td>{$form.description.html}</td> | |
44 | </tr> | |
45 | <tr class="crm-case-type-form-block-is_active"> | |
46 | <td class="label">{$form.is_active.label}</td> | |
47 | <td>{$form.is_active.html}</td> | |
48 | </tr> | |
49 | </table> | |
50 | {/if} | |
51 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
52 | </div> |