fix year in headers
[civicrm-core.git] / templates / CRM / Batch / Form / Batch.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2017 |
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 batch *}
27 {if $action eq 8}
28 <h3>{ts}Delete Data Entry Batch{/ts}</h3>
29 {elseif $action eq 2}
30 <h3>{ts}Edit Data Entry Batch{/ts}</h3>
31 {else}
32 <h3>{ts}New Data Entry Batch{/ts}</h3>
33 {/if}
34 <div class="crm-block crm-form-block crm-batch-form-block">
35 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
36 {if $action eq 8}
37 <div class="messages status no-popup">
38 <div class="icon inform-icon"></div>
39 {ts}WARNING: Deleting this batch will result in the loss of all data entered for the batch.{/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}
40 </div>
41 {else}
42 <table class="form-layout-compressed">
43 <tr class="crm-batch-form-block-title">
44 <td class="label">{$form.title.label}</td>
45 <td>{$form.title.html}</td>
46 </tr>
47 <tr class="crm-batch-form-block-type_id">
48 <td class="label">{$form.type_id.label}</td>
49 <td>{$form.type_id.html}</td>
50 </tr>
51 <tr class="crm-batch-form-block-description">
52 <td class="label">{$form.description.label}</td>
53 <td>{$form.description.html}</td>
54 </tr>
55 <tr class="crm-batch-form-block-item_count">
56 <td class="label">{$form.item_count.label}</td>
57 <td>{$form.item_count.html}</td>
58 </tr>
59 <tr class="crm-batch-form-block-total">
60 <td class="label">{$form.total.label}</td>
61 <td>{$form.total.html|crmAddClass:eight}</td>
62 </tr>
63 </table>
64 {/if}
65 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
66 </div>