Merge pull request #13283 from aydun/token_note_fix
[civicrm-core.git] / templates / CRM / Campaign / Form / Campaign.tpl
CommitLineData
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-campaign-form-block">
27
6a488035
TO
28
29{if $action eq 8}
30 <table class="form-layout">
31 <tr>
32 <td colspan="2">
33 <div class="status"><div class="icon inform-icon"></div>&nbsp;{ts}Are you sure you want to delete this Campaign?{/ts}</div>
34 </td>
35 </tr>
36 </table>
37{else}
38 <div class="crm-submit-buttons">
39 {include file="CRM/common/formButtons.tpl" location="top"}
40 </div>
41
42 <table class="form-layout-compressed">
43 <tr class="crm-campaign-form-block-title">
44 <td class="label">{$form.title.label}</td>
45 <td class="view-value">{$form.title.html}</td>
46 </tr>
47 <tr class="crm-campaign-form-block-campaign_type_id">
48 <td class="label">{$form.campaign_type_id.label}</td>
49 <td class="view-value">{$form.campaign_type_id.html}</td>
50 </tr>
51 <tr class="crm-campaign-form-block-description">
52 <td class="label">{$form.description.label}</td>
53 <td class="view-value">{$form.description.html}</td>
54 </tr>
55 <tr class="crm-campaign-form-block-includeGroups">
56 <td class="label">{$form.includeGroups.label}</td>
57 <td>{$form.includeGroups.html}</td>
58 </tr>
59 <tr class="crm-campaign-form-block-start_date">
60 <td class="label">{$form.start_date.label}</td>
c38a7f6b 61 <td class="view-value">{$form.start_date.html}</td>
6a488035
TO
62 </tr>
63 <tr class="crm-campaign-form-block-end_date">
64 <td class="label">{$form.end_date.label}</td>
c38a7f6b 65 <td class="view-value">{$form.end_date.html}</td>
6a488035
TO
66 </tr>
67 <tr class="crm-campaign-form-block-status_id">
68 <td class="label">{$form.status_id.label}</td>
69 <td class="view-value">{$form.status_id.html}</td>
70 </tr>
71 <tr class="crm-campaign-form-block-goal_general">
72 <td class="label">{$form.goal_general.label}</td>
73 <td class="view-value">{$form.goal_general.html}</td>
74 </tr>
75 <tr class="crm-campaign-form-block-goal_revenue">
76 <td class="label">{$form.goal_revenue.label}</td>
77 <td class="view-value">{$form.goal_revenue.html}</td>
78 </tr>
79 <tr class="crm-campaign-form-block-external_identifier">
80 <td class="label">{$form.external_identifier.label}</td>
81 <td class="view-value">{$form.external_identifier.html}</td>
82 </tr>
83
84 {* Suppress parent-child feature for now. dgg *}
85 {*
86 <tr class="crm-campaign-form-block-parent_id">
87 <td class="label">{$form.parent_id.label}</td>
88 <td class="view-value">{$form.parent_id.html}</td>
89 </tr> *}
90
91 <tr class="crm-campaign-form-block-is_active">
92 <td class="label">{$form.is_active.label}</td>
93 <td class="view-value">{$form.is_active.html}</td>
94 </tr>
95 </table>
96
14c67729 97 {include file="CRM/common/customDataBlock.tpl"}
6a488035
TO
98
99{/if}
100<div class="crm-submit-buttons">
101 {include file="CRM/common/formButtons.tpl" location="bottom"}
102</div>
103</div>