000cccb578e184a37eed1facd6b83b6556868561
[civicrm-core.git] / templates / CRM / Case / Form / Activity / ChangeCaseType.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
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 {* Template for "Change Case Type" activities *}
27 <div class="crm-block crm-form-block crm-case-changecasetype-form-block">
28 <tr class="crm-case-changecasetype-form-block-case_type_id">
29 <td class="label">{$form.case_type_id.label}</td>
30 <td>{$form.case_type_id.html}</td>
31 </tr>
32 <tr class="crm-case-changecasetype-form-block-is_reset_timeline">
33 <td class="label">{$form.is_reset_timeline.label}</td>
34 <td>{$form.is_reset_timeline.html}</td>
35 </tr>
36 <tr class="crm-case-changecasetype-form-block-reset_date_time" id="resetTimeline">
37 <td class="label">{$form.reset_date_time.label}</td>
38 <td>{include file="CRM/common/jcalendar.tpl" elementName=reset_date_time}</td>
39 </tr>
40
41 {include file="CRM/common/showHideByFieldValue.tpl"
42 trigger_field_id ="is_reset_timeline"
43 trigger_value = true
44 target_element_id ="resetTimeline"
45 target_element_type ="table-row"
46 field_type ="radio"
47 invert = 0
48 }
49 </div>