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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-14 / +14 lines)
Lines 23-29 Link Here
23
//<![CDATA[
23
//<![CDATA[
24
var MSG_ADD_MESSAGE = _("Add a new message");
24
var MSG_ADD_MESSAGE = _("Add a new message");
25
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
25
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
26
[% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %]
27
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
26
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
28
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
27
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
29
	 $(document).ready(function() {
28
	 $(document).ready(function() {
Lines 42-51 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); Link Here
42
            "sDom": 't',
41
            "sDom": 't',
43
            "aaSorting": [],
42
            "aaSorting": [],
44
            "aoColumnDefs": [
43
            "aoColumnDefs": [
45
                { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }
44
                { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false },
46
            ],
45
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
47
            "aoColumns": [
46
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
48
                { "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %]
49
            ],
47
            ],
50
            "bPaginate": false
48
            "bPaginate": false
51
        }));
49
        }));
Lines 53-60 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); Link Here
53
        $("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
51
        $("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
54
            "sDom": 't',
52
            "sDom": 't',
55
            "aaSorting": [],
53
            "aaSorting": [],
56
            "aoColumns": [
54
            "aoColumnDefs": [
57
                { "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,{ "sType": "html" }
55
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
56
                { "sType": "title-string", "aTargets" : [ "title-string" ] },
57
                { "sType": "html", "aTargets" : [ "html-content" ] }
58
            ],
58
            ],
59
            "bPaginate": false
59
            "bPaginate": false
60
        }));
60
        }));
Lines 715-724 No patron matched <span class="ex">[% message %]</span> Link Here
715
    <input type="hidden" name="branch" value="[% branch %]" />
715
    <input type="hidden" name="branch" value="[% branch %]" />
716
        <table id="issuest">
716
        <table id="issuest">
717
    <thead><tr>
717
    <thead><tr>
718
        <th scope="col">Due date</th>
718
        <th scope="col" class="title-string">Due date</th>
719
        <th scope="col">Title</th>
719
        <th scope="col" class="anti-the">Title</th>
720
        <th scope="col">Item type</th>
720
        <th scope="col">Item type</th>
721
        <th scope="col">Checked out on</th>
721
        <th scope="col" class="title-string">Checked out on</th>
722
        <th scope="col">Checked out from</th>
722
        <th scope="col">Checked out from</th>
723
        <th scope="col">Call no</th>
723
        <th scope="col">Call no</th>
724
        <th scope="col">Charge</th>
724
        <th scope="col">Charge</th>
Lines 964-978 No patron matched <span class="ex">[% message %]</span> Link Here
964
    <table id="relissuest">
964
    <table id="relissuest">
965
    <thead>
965
    <thead>
966
    <tr>
966
    <tr>
967
        <th scope="col">Due date</th>
967
        <th scope="col" class="title-string">Due date</th>
968
        <th scope="col">Title</th>
968
        <th scope="col" class="anti-the">Title</th>
969
        <th scope="col">Item type</th>
969
        <th scope="col">Item type</th>
970
        <th scope="col">Checked out on</th>
970
        <th scope="col" class="title-string">Checked out on</th>
971
        <th scope="col">Checked out from</th>
971
        <th scope="col">Checked out from</th>
972
        <th scope="col">Call no</th>
972
        <th scope="col">Call no</th>
973
        <th scope="col">Charge</th>
973
        <th scope="col">Charge</th>
974
        <th scope="col">Price</th>
974
        <th scope="col">Price</th>
975
        <th scope="col">Patron</th>
975
        <th scope="col" class="html-content">Patron</th>
976
    </tr>
976
    </tr>
977
    </thead>
977
    </thead>
978
[% IF ( relissues ) %]	<tbody>
978
[% IF ( relissues ) %]	<tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-8 / +4 lines)
Lines 6-22 Link Here
6
[% INCLUDE 'datatables.inc' %]
6
[% INCLUDE 'datatables.inc' %]
7
<script type="text/javascript">
7
<script type="text/javascript">
8
//<![CDATA[
8
//<![CDATA[
9
[% IF (dateformat == 'metric') %]
10
dt_add_type_uk_date();
11
[% END %]
12
$(document).ready(function() {
9
$(document).ready(function() {
13
    [% FOREACH branchesloo IN branchesloop %]
10
    [% FOREACH branchesloo IN branchesloop %]
14
    $("#transferst[% branchesloo.branchcode %]").dataTable($.extend(true, {}, dataTablesDefaults, {
11
    $("#transferst[% branchesloo.branchcode %]").dataTable($.extend(true, {}, dataTablesDefaults, {
15
        "aoColumnDefs": [
12
        "aoColumnDefs": [
16
            { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
13
            { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
17
        ],
14
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
18
        "aoColumns": [
15
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
19
            { "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null
20
        ],
16
        ],
21
        "sDom": 't',
17
        "sDom": 't',
22
        "bPaginate": false
18
        "bPaginate": false
Lines 48-55 $(document).ready(function() { Link Here
48
            <table style="width: 100%" id="transferst[% branchesloo.branchcode %]">
44
            <table style="width: 100%" id="transferst[% branchesloo.branchcode %]">
49
            <caption>Coming from [% branchesloo.branchname %]</caption>
45
            <caption>Coming from [% branchesloo.branchname %]</caption>
50
            <thead><tr>
46
            <thead><tr>
51
                <th>Date of transfer</th>
47
                <th class="title-string">Date of transfer</th>
52
                <th>Title</th>
48
                <th class="anti-the">Title</th>
53
                <th>On hold for</th>
49
                <th>On hold for</th>
54
                <th>Home library</th>
50
                <th>Home library</th>
55
                <th>Call no.</th>
51
                <th>Call no.</th>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt (-11 / +6 lines)
Lines 6-23 Link Here
6
[% INCLUDE 'datatables.inc' %]
6
[% INCLUDE 'datatables.inc' %]
7
<script type="text/javascript">
7
<script type="text/javascript">
8
//<![CDATA[
8
//<![CDATA[
9
[% IF (dateformat == 'metric') %]
10
dt_add_type_uk_date();
11
[% END %]
12
     $(document).ready(function() {
9
     $(document).ready(function() {
13
         $('#resultlist').tabs();
10
         $('#resultlist').tabs();
14
         $("th a").hide();
11
         $("th a").hide();
15
        $("#holdst,#holdso").dataTable($.extend(true, {}, dataTablesDefaults, {
12
        $("#holdst,#holdso").dataTable($.extend(true, {}, dataTablesDefaults, {
16
            "aoColumnDefs": [
13
            "aoColumnDefs": [
17
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
14
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
18
            ],
15
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
19
            "aoColumns": [
16
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
20
                { "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null,null
21
            ],
17
            ],
22
            "sPaginationType": "four_button"
18
            "sPaginationType": "four_button"
23
        }));
19
        }));
Lines 81-88 dt_add_type_uk_date(); Link Here
81
            [% IF ( reserveloop ) %]
77
            [% IF ( reserveloop ) %]
82
               <table id="holdst">
78
               <table id="holdst">
83
               <thead><tr>
79
               <thead><tr>
84
                    <th>Available since</th>
80
                    <th class="title-string">Available since</th>
85
                    <th>Title</th>
81
                    <th class="anti-the">Title</th>
86
                    <th>Patron</th>
82
                    <th>Patron</th>
87
                    <th>Location</th>
83
                    <th>Location</th>
88
                    <th>Copy number</th>
84
                    <th>Copy number</th>
Lines 141-148 dt_add_type_uk_date(); Link Here
141
               <br/>
137
               <br/>
142
               <table id="holdso">
138
               <table id="holdso">
143
               <thead><tr>
139
               <thead><tr>
144
                    <th>Available since</th>
140
                    <th class="title-string">Available since</th>
145
                    <th>Title</th>
141
                    <th class="anti-the">Title</th>
146
                    <th>Patron</th>
142
                    <th>Patron</th>
147
                    <th>Location</th>
143
                    <th>Location</th>
148
                    <th>Copy number</th>
144
                    <th>Copy number</th>
149
- 

Return to bug 12089