CRM-17154 fix search actions to support refreshing fields in confirm (like save a...
[civicrm-core.git] / templates / CRM / Report / Form / Tabs / Instance.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
2c4c49ca 3 | CiviCRM version 4.7 |
6a488035 4 +--------------------------------------------------------------------+
fa938177 5 | Copyright CiviCRM LLC (c) 2004-2016 |
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*}
70b1b945 26<div id="report-tab-format" class="civireport-criteria">
b69e578b 27 <table class="form-layout">
6a488035 28 <tr class="crm-report-instanceForm-form-block-title">
cd732070 29 <td class="report-label" width="20%">{$form.title.label} {help id="id-report_title" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
b69e578b 30 <td >{$form.title.html}</td>
6a488035
TO
31 </tr>
32 <tr class="crm-report-instanceForm-form-block-description">
b69e578b
CW
33 <td class="report-label" width="20%">{$form.description.label}</td>
34 <td>{$form.description.html}</td>
6a488035
TO
35 </tr>
36 <tr class="crm-report-instanceForm-form-block-report_header">
cd732070 37 <td class="report-label" width="20%">{$form.report_header.label}{help id="id-report_header" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
b69e578b 38 <td>{$form.report_header.html}</td>
6a488035
TO
39 </tr>
40 <tr class="crm-report-instanceForm-form-block-report_footer">
b69e578b
CW
41 <td class="report-label" width="20%">{$form.report_footer.label}</td>
42 <td>{$form.report_footer.html}</td>
6a488035 43 </tr>
b69e578b 44 </table>
841cb24e 45</div>
6a488035 46
f1c9651b 47<div id="report-tab-email" class="civireport-criteria">
cd732070 48 <h3 class="email-delivery-settings-title">{ts}Email Delivery Settings{/ts} {help id="id-email_settings" file="CRM/Report/Form/Tabs/Settings.hlp"}</h3>
841cb24e 49 <table class="form-layout email-delivery-settings-fields">
6a488035 50 <tr class="crm-report-instanceForm-form-block-email_subject">
b69e578b
CW
51 <td class="report-label" width="20%">{$form.email_subject.label}</td>
52 <td>{$form.email_subject.html|crmAddClass:huge}</td>
6a488035
TO
53 </tr>
54 <tr class="crm-report-instanceForm-form-block-email_to">
b69e578b
CW
55 <td class="report-label">{$form.email_to.label}</td>
56 <td>{$form.email_to.html|crmAddClass:huge}</td>
6a488035
TO
57 </tr>
58 <tr class="crm-report-instanceForm-form-block-email_cc">
b69e578b
CW
59 <td class="report-label">{$form.email_cc.label}</td>
60 <td>{$form.email_cc.html|crmAddClass:huge}</td>
6a488035 61 </tr>
b69e578b 62 </table>
841cb24e 63</div>
6a488035 64
70b1b945 65<div id="report-tab-access" class="civireport-criteria">
b69e578b 66 <table class="form-layout">
6a488035 67 <tr class="crm-report-instanceForm-form-block-is_navigation">
b69e578b 68 <td class="report-label">{$form.is_navigation.label}</td>
e6e7e540 69 <td>{$form.is_navigation.html} {ts}Link to {/ts} {$form.view_mode.html}<br />
b69e578b
CW
70 <span class="description">{ts}All report instances are automatically included in the Report Listing page. Check this box to also add this report to the navigation menu.{/ts}</span>
71 </td>
6a488035
TO
72 </tr>
73 <tr class="crm-report-instanceForm-form-block-parent_id" id="navigation_menu">
b69e578b
CW
74 <td class="report-label">{$form.parent_id.label} {help id="id-parent" file="CRM/Admin/Form/Navigation.hlp"}</td>
75 <td>{$form.parent_id.html|crmAddClass:huge}</td>
6a488035
TO
76 </tr>
77 <tr class="crm-report-instanceForm-form-block-drilldown">
78 <td class="report-label">{$form.drilldown_id.label}</td>
79 <td>{$form.drilldown_id.html}</td>
80 </tr>
81 {if $config->userFramework neq 'Joomla'}
b69e578b 82 <tr class="crm-report-instanceForm-form-block-permission">
cd732070 83 <td class="report-label" width="20%">{$form.permission.label} {help id="id-report_perms" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
b69e578b
CW
84 <td>{$form.permission.html|crmAddClass:huge}</td>
85 </tr>
86 <tr class="crm-report-instanceForm-form-block-role">
87 <td class="report-label" width="20%">{$form.grouprole.label}</td>
88 <td>{$form.grouprole.html|crmAddClass:huge}</td>
89 </tr>
6a488035 90 {/if}
0f8c6e58 91 <tr class="crm-report-instanceForm-form-block-add-to-my-reports">
92 <td class="report-label">{$form.add_to_my_reports.label} {help id="id-add_to_my_reports" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
93 <td>{$form.add_to_my_reports.html}
94 <span class="description">{ts}If set to Yes, this report will appear in the My Reports section of the reports listing page and will only be visible by you.{/ts}</span>
95 </td>
96 </tr>
6a488035 97 <tr class="crm-report-instanceForm-form-block-isReserved">
cd732070 98 <td class="report-label">{$form.is_reserved.label} {help id="id-is_reserved" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
6a488035
TO
99 <td>{$form.is_reserved.html}
100 <span class="description">{ts}If reserved, only users with 'administer reserved reports' permission can modify this report instance.{/ts}</span>
101 </td>
102 </tr>
103 <tr class="crm-report-instanceForm-form-block-addToDashboard">
cd732070 104 <td class="report-label">{$form.addToDashboard.label} {help id="id-dash_avail" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
6a488035
TO
105 <td>{$form.addToDashboard.html}
106 <span class="description">{ts}Users with appropriate permissions can add this report to their dashboard.{/ts}</span>
107 </td>
108 </tr>
dbb4a0f9 109 <tr id ="limit_result" class="crm-report-instanceForm-form-block-limitUser">
cd732070 110 <td class="report-label">{$form.row_count.label} {help id="id-dash_limit" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
dbb4a0f9
PN
111 <td>{$form.row_count.html}</td>
112 </tr>
b69e578b 113 </table>
841cb24e 114</div>
6a488035
TO
115
116{include file="CRM/common/showHideByFieldValue.tpl"
117 trigger_field_id ="is_navigation"
118 trigger_value =""
119 target_element_id ="navigation_menu"
120 target_element_type ="table-row"
121 field_type ="radio"
122 invert = 0
123}
dbb4a0f9
PN
124{include file="CRM/common/showHideByFieldValue.tpl"
125 trigger_field_id ="addToDashboard"
126 trigger_value =""
127 target_element_id ="limit_result"
128 target_element_type ="table-row"
129 field_type ="radio"
130 invert = 0
131}
6a488035
TO
132
133{if $is_navigation}
b69e578b
CW
134 <script type="text/javascript">
135 document.getElementById('is_navigation').checked = true;
136 showHideByValue('is_navigation','','navigation_menu','table-row','radio',false);
137 </script>
6a488035 138{/if}