Lines 97-103
$("#delColumn").on("click",function(){
Link Here
|
97 |
{ "aTargets": [ 1, 2 ], "sType": "natural" } |
97 |
{ "aTargets": [ 1, 2 ], "sType": "natural" } |
98 |
], |
98 |
], |
99 |
"aoColumns": [ |
99 |
"aoColumns": [ |
100 |
null,null,null,null,null,null,null,null,{ "sType": "title-string" },null,null,null,[% IF (usecache) %]null,[% END %]null,null |
|
|
101 |
null,null,null,null,null,null,null,null,{ "sType": "title-string" },null,null,null,[% IF (usecache) %]null,[% END %]null,null[% IF has_obsolete_reports %],null[% END %] |
100 |
null,null,null,null,null,null,null,null,{ "sType": "title-string" },null,null,null,[% IF (usecache) %]null,[% END %]null,null[% IF has_obsolete_reports %],null[% END %] |
102 |
], |
101 |
], |
103 |
'oLanguage': { |
102 |
'oLanguage': { |
Lines 174-180
$("#delColumn").on("click",function(){
Link Here
|
174 |
var report_id = $(this).data("report_id"); |
173 |
var report_id = $(this).data("report_id"); |
175 |
var page = $(this).attr("href"); |
174 |
var page = $(this).attr("href"); |
176 |
$("#update_sql .modal-body").load(page + " div"); |
175 |
$("#update_sql .modal-body").load(page + " div"); |
177 |
$('#update_sql').modal({show:true}); |
176 |
$('#update_sql').modal('show'); |
178 |
$("#update_sql_button").attr("href", "/cgi-bin/koha/reports/guided_reports.pl?phase=Use saved&op=convert&report_id=" + report_id); |
177 |
$("#update_sql_button").attr("href", "/cgi-bin/koha/reports/guided_reports.pl?phase=Use saved&op=convert&report_id=" + report_id); |
179 |
}); |
178 |
}); |
180 |
$("#update_sql").on("hidden", function(){ |
179 |
$("#update_sql").on("hidden", function(){ |
Lines 282-288
$("#delColumn").on("click",function(){
Link Here
|
282 |
[% END %] |
281 |
[% END %] |
283 |
</div> |
282 |
</div> |
284 |
|
283 |
|
285 |
<div id="update_sql" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="update_sql_label" aria-hidden="true"> |
284 |
<div id="update_sql" class="modal" tabindex="-1" role="dialog" aria-labelledby="update_sql_label" aria-hidden="true"> |
|
|
285 |
<div class="modal-dialog"> |
286 |
<div class="modal-content"> |
286 |
<div class="modal-header"> |
287 |
<div class="modal-header"> |
287 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
288 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
288 |
<h3 id="update_sql_label">Update SQL</h3> |
289 |
<h3 id="update_sql_label">Update SQL</h3> |
Lines 291-298
$("#delColumn").on("click",function(){
Link Here
|
291 |
<div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div> |
292 |
<div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div> |
292 |
</div> |
293 |
</div> |
293 |
<div class="modal-footer"> |
294 |
<div class="modal-footer"> |
294 |
<a href="#" class="btn" id="update_sql_button" role="button" data-toggle="modal">Update</a> |
295 |
<a href="#" class="btn btn-default" id="update_sql_button" role="button" data-toggle="modal">Update</a> |
295 |
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> |
296 |
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> |
|
|
297 |
</div> |
298 |
</div> |
296 |
</div> |
299 |
</div> |
297 |
</div> |
300 |
</div> |
298 |
|
301 |
|
Lines 421-427
canned reports and writing custom SQL reports.</p>
Link Here
|
421 |
<td> |
424 |
<td> |
422 |
[% IF savedreport.seems_obsolete %] |
425 |
[% IF savedreport.seems_obsolete %] |
423 |
This report seems obsolete, it uses biblioitems.marcxml field. |
426 |
This report seems obsolete, it uses biblioitems.marcxml field. |
424 |
<a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id %]" data-report_id="[% savedreport.id %]" class="update_sql btn btn-mini" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a> |
427 |
<a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id %]" data-report_id="[% savedreport.id %]" class="update_sql btn btn-default btn-xs" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a> |
425 |
[% END %] |
428 |
[% END %] |
426 |
</td> |
429 |
</td> |
427 |
[% END %] |
430 |
[% END %] |
428 |
- |
|
|