Merge pull request #2712 from pratik-joshi/CRM-14363
[civicrm-core.git] / templates / CRM / Admin / Form / ActivityType.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
232624b1 3 | CiviCRM version 4.4 |
6a488035
TO
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
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/deleting activity type *}
27<div class="form-item">
28<fieldset><legend>{if $action eq 1}{ts}New Activity Type{/ts}{elseif $action eq 2}{ts}Edit Activity Type{/ts}{else}{ts}Delete Activity Type{/ts}{/if}</legend>
29
30 {if $action eq 8}
31 <div class="messages status no-popup">
32 <dl>
33 <dt><div class="icon inform-icon"></div></dt>
34 <dd>
35 {ts}WARNING: Deleting this option will result in the loss of all activity type 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}
36 </dd>
37 </dl>
38 </div>
39 {else}
40 <dl>
41 <dt>{$form.name.label}</dt><dd>{$form.name.html}</dd>
42 <dt>{$form.description.label}</dt><dd>{$form.description.html}</dd>
43 <dt>{$form.is_active.label}</dt><dd>{$form.is_active.html}</dd>
44 </dl>
45 {/if}
46 <dl>
47 <dt></dt><dd>{$form.buttons.html}</dd>
48 </dl>
49</fieldset>
50</div>