View | Details | Raw Unified | Return to bug 17898
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-6 / +9 lines)
Lines 171-177 $("#delColumn").on("click",function(){ Link Here
171
        var report_id = $(this).data("report_id");
171
        var report_id = $(this).data("report_id");
172
        var page = $(this).attr("href");
172
        var page = $(this).attr("href");
173
        $("#update_sql .modal-body").load(page + " div");
173
        $("#update_sql .modal-body").load(page + " div");
174
        $('#update_sql').modal({show:true});
174
        $('#update_sql').modal('show');
175
        $("#update_sql_button").attr("href", "/cgi-bin/koha/reports/guided_reports.pl?phase=Use saved&op=convert&report_id=" + report_id);
175
        $("#update_sql_button").attr("href", "/cgi-bin/koha/reports/guided_reports.pl?phase=Use saved&op=convert&report_id=" + report_id);
176
    });
176
    });
177
    $("#update_sql").on("hidden", function(){
177
    $("#update_sql").on("hidden", function(){
Lines 273-279 $("#delColumn").on("click",function(){ Link Here
273
[% END %]
273
[% END %]
274
</div>
274
</div>
275
275
276
<div id="update_sql" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="update_sql_label" aria-hidden="true">
276
<div id="update_sql" class="modal" tabindex="-1" role="dialog" aria-labelledby="update_sql_label" aria-hidden="true">
277
    <div class="modal-dialog">
278
    <div class="modal-content">
277
    <div class="modal-header">
279
    <div class="modal-header">
278
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
280
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
279
        <h3 id="update_sql_label">Update SQL</h3>
281
        <h3 id="update_sql_label">Update SQL</h3>
Lines 282-289 $("#delColumn").on("click",function(){ Link Here
282
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
284
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
283
    </div>
285
    </div>
284
    <div class="modal-footer">
286
    <div class="modal-footer">
285
        <a href="#" class="btn" id="update_sql_button" role="button" data-toggle="modal">Update</a>
287
        <a href="#" class="btn btn-default" id="update_sql_button" role="button" data-toggle="modal">Update</a>
286
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
288
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
289
    </div>
290
    </div>
287
    </div>
291
    </div>
288
</div>
292
</div>
289
293
Lines 408-414 canned reports and writing custom SQL reports.</p> Link Here
408
                        <td>
412
                        <td>
409
                            [% IF savedreport.seems_obsolete %]
413
                            [% IF savedreport.seems_obsolete %]
410
                                This report seems obsolete, it uses biblioitems.marcxml field.
414
                                This report seems obsolete, it uses biblioitems.marcxml field.
411
                                <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>
415
                                <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>
412
                            [% END %]
416
                            [% END %]
413
                        </td>
417
                        </td>
414
                        [% END %]
418
                        [% END %]
415
- 

Return to bug 17898