Lines 172-177
$("#delColumn").on("click",function(){
Link Here
|
172 |
}); |
172 |
}); |
173 |
[% END %] |
173 |
[% END %] |
174 |
|
174 |
|
|
|
175 |
$(".toggle_sql").click(function(){ |
176 |
$("#sql_output").toggle(); |
177 |
$("#toggle_sql_hid").toggle(); |
178 |
$("#toggle_sql_vis").toggle(); |
179 |
}); |
180 |
|
175 |
$("#table_reports").delegate(".confirmdelete", 'click', function(){ |
181 |
$("#table_reports").delegate(".confirmdelete", 'click', function(){ |
176 |
$(this).parents('tr').attr("class","warn"); |
182 |
$(this).parents('tr').attr("class","warn"); |
177 |
if(confirm(_("Are you sure you want to delete this saved report?"))){ |
183 |
if(confirm(_("Are you sure you want to delete this saved report?"))){ |
Lines 822-830
canned reports and writing custom SQL reports.</p>
Link Here
|
822 |
|
828 |
|
823 |
[% IF ( execute ) %] |
829 |
[% IF ( execute ) %] |
824 |
<h1>[% name %]</h1> |
830 |
<h1>[% name %]</h1> |
825 |
[% IF ( notes ) %]<p>[% notes %]</p>[% END %] |
831 |
[% IF ( notes ) %]<p>Notes: [% notes %]</p>[% END %] |
826 |
[% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %] |
832 |
[% IF ( unlimited_total ) %]<p>Total number of results [% unlimited_total %][% IF unlimited_total > limit %] ([% limit %] shown)[% END %].</p>[% END %] |
827 |
<pre id="sql_output">[% sql |html %]</pre> |
833 |
<a class="toggle_sql" id="toggle_sql_hid" href="#">Show sql code</a> |
|
|
834 |
<a class="toggle_sql" id="toggle_sql_vis" href="#" style="display:none;">Hide sql code</a> |
835 |
<pre id="sql_output" style="display:none;">[% sql |html %]</pre> |
836 |
</br> |
828 |
|
837 |
|
829 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect"> |
838 |
<form action="/cgi-bin/koha/reports/guided_reports.pl" method="get" id="limitselect"> |
830 |
<input type="hidden" name="phase" value="Run this report"/> |
839 |
<input type="hidden" name="phase" value="Run this report"/> |
831 |
- |
|
|