Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {if $action eq 8} | |
11 | <h3>{ts}Delete Report Template{/ts}</h3> | |
12 | {elseif $action eq 2} | |
13 | <h3>{ts}Edit Report Template{/ts}</h3> | |
14 | {else} | |
15 | <h3>{ts}New Report Template{/ts}</h3> | |
16 | {/if} | |
17 | <div class="crm-block crm-form-block crm-report-register-form-block"> | |
b69e578b CW |
18 | {if $action eq 8} |
19 | <table class="form-layout"> | |
6a488035 | 20 | <tr class="buttons"> |
b69e578b CW |
21 | <td><div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
22 | </td> | |
23 | <td></td> | |
6a488035 TO |
24 | </tr> |
25 | <tr> | |
b69e578b | 26 | <td colspan=2> |
6a488035 | 27 | <div class="messages status no-popup"> |
b69e578b CW |
28 | <div class="icon inform-icon"></div> |
29 | {ts}WARNING: Deleting this option will result in the loss of all Report related records which use the option. This may mean the loss of a substantial amount of data, and the action cannot be undone. Do you want to continue?{/ts} | |
6a488035 | 30 | </div> |
b69e578b | 31 | </td> |
6a488035 | 32 | </tr> |
b69e578b | 33 | {else} |
6a488035 TO |
34 | |
35 | <table class="form-layout"> | |
b69e578b CW |
36 | <tr class="buttons crm-report-register-form-block-buttons"> |
37 | <td><div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
38 | </td> | |
39 | <td></td> | |
40 | </tr> | |
41 | <tr class="crm-report-register-form-block-label"> | |
42 | <td class="label">{$form.label.label}</td> | |
43 | <td class="view-value">{$form.label.html} <br /><span class="description">{ts}Report title appear in the display screen.{/ts}</span> | |
44 | </td> | |
45 | </tr> | |
46 | <tr class="crm-report-register-form-block-description"> | |
47 | <td class="label">{$form.description.label}</td> | |
48 | <td class="view-value">{$form.description.html} <br /><span class="description">{ts}Report description appear in the display screen.{/ts}</span> | |
49 | </td> | |
50 | </tr> | |
51 | <tr class="crm-report-register-form-block-url"> | |
52 | <td class="label">{$form.value.label}</td> | |
53 | <td class="view-value">{$form.value.html} <br /><span class="description">{ts}Report Url must be like "contribute/summary"{/ts}</span> | |
54 | </td> | |
55 | </tr> | |
56 | <tr class="crm-report-register-form-block-class"> | |
57 | <td class="label">{$form.name.label}</td> | |
58 | <td class="view-value">{$form.name.html} <br /><span class="description">{ts}Report Class must be present before adding the report here, e.g. 'CRM_Report_Form_Contribute_Summary'{/ts}</span> | |
59 | </td> | |
60 | </tr> | |
61 | <tr class="crm-report-register-form-block-weight"> | |
62 | <td class="label">{$form.weight.label}</td> | |
63 | <td class="view-value">{$form.weight.html}</td> | |
64 | </tr> | |
65 | <tr class="crm-report-register-form-block-component"> | |
66 | <td class="label">{$form.component_id.label}</td> | |
67 | <td class="view-value">{$form.component_id.html} <br /><span class="description">{ts}Specify the Report if it is belongs to any component like "CiviContribute"{/ts}</span> | |
68 | </td> | |
69 | </tr> | |
70 | <tr class="crm-report-register-form-block-is_active"> | |
71 | <td class="label">{$form.is_active.label}</td> | |
72 | <td class="view-value">{$form.is_active.html}</td> | |
73 | </tr> | |
74 | {/if} | |
75 | <tr class="buttons crm-report-register-form-block-buttons"> | |
6a488035 TO |
76 | <td><div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
77 | </td> | |
78 | <td></td> | |
b69e578b | 79 | </tr> |
6a488035 TO |
80 | </table> |
81 | </div> |