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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-11 / +23 lines)
Lines 1-20 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
3
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %][% IF ( delete_confirm ) %]Delete [% END %]Basket [% basketname|html %] ([% basketno %]) for [% name|html %]</title>
4
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7
[% INCLUDE 'datatables-strings.inc' %]
8
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
5
[% UNLESS ( closedate ) %]
9
[% UNLESS ( closedate ) %]
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
7
<script type="text/javascript">
10
<script type="text/javascript">
8
//<![CDATA[
11
//<![CDATA[
9
    $(document).ready(function() {
10
        $("#orders").tablesorter({
11
            headers: {
12
                9: { sorter: false },
13
                10: { sorter: false }
14
            }
15
        });
16
        $("#cancelledorderst").tablesorter();
17
    });
18
            function confirm_close() {
12
            function confirm_close() {
19
                var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
13
                var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
20
                if (is_confirmed) {
14
                if (is_confirmed) {
Lines 68-73 Link Here
68
</script>
62
</script>
69
[% END %]
63
[% END %]
70
[% END %]
64
[% END %]
65
<script type="text/javascript">
66
//<![CDATA[
67
    $(document).ready(function() {
68
        var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
69
            "sPaginationType": "four_button"
70
        } ) );
71
        var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, {
72
            "sPaginationType": "four_button"
73
        } ) );
74
    } );
75
            function confirm_reopen(skip) {
76
                var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?'));
77
                if (is_confirmed) {
78
                    window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]";
79
                }
80
            }
81
//]]>
82
</script>
83
71
<style type="text/css">
84
<style type="text/css">
72
.sortmsg {font-size: 80%;}
85
.sortmsg {font-size: 80%;}
73
</style>
86
</style>
74
- 

Return to bug 5345