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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-19 / +61 lines)
Lines 4-17 Link Here
4
4
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
6
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
7
<meta http-equiv="Content-Language" content="en-us" />
8
<style type="text/css">
7
<style type="text/css">
9
    @import url([% themelang %]/css/print.css);
8
    @import url([% themelang %]/css/print.css);
10
</style>
9
</style>
11
    [% ELSE %][% INCLUDE 'doc-head-close.inc' %]
10
    [% ELSE %][% INCLUDE 'doc-head-close.inc' %]
11
    <style type="text/css">
12
        td table {
13
            font-size: 85%;
14
            border: 0;
15
        }
16
        td table th:first-child,
17
        td table th.sorting:first-child,
18
        td table th.sorting_asc:first-child,
19
        td table th.sorting_desc:first-child {
20
            border-right : 1px solid #99BEC9;
21
        }
22
        td table th,
23
        td table th.sorting,
24
        td table th.sorting_asc,
25
        td table th.sorting_desc {
26
            background-color: #E6F0F2;
27
            border-color: #99BEC9;
28
            border-width: 0px 0px 1px 0px;
29
        }
30
        td table td {
31
            border-width: 0px 0px 1px 0px;
32
            border-color: #B8D7E0;
33
        }
34
    </style>
12
	<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
35
	<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
13
	<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
36
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
14
	<script type="text/javascript">
37
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
38
[% INCLUDE 'datatables-strings.inc' %]
39
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>	<script type="text/javascript">
15
	//<![CDATA[
40
	//<![CDATA[
16
41
17
function placeHold () {
42
function placeHold () {
Lines 40-45 function placeHold () { Link Here
40
    window.close();
65
    window.close();
41
}
66
}
42
67
68
69
43
	$(document).ready(function(){
70
	$(document).ready(function(){
44
		$("#CheckAll").click(function(){
71
		$("#CheckAll").click(function(){
45
		var checked = [];
72
		var checked = [];
Lines 61-71 function placeHold () { Link Here
61
	    });
88
	    });
62
        $(".holdsep").text("| ");
89
        $(".holdsep").text("| ");
63
        $(".hold").text(_("Place Hold"));
90
        $(".hold").text(_("Place Hold"));
64
        $("#downloadcartc").empty();
91
        $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, {
65
        yuiToolbar();
92
            "sDom": 't',
66
        $("#itemst").tablesorter({
93
            "aoColumnDefs": [
67
            headers: { 0: { sorter: false }}
94
                { "aTargets": [ 0,3 ], "bSortable": false, "bSearchable": false },
68
        });
95
            ],
96
            "aaSorting": [[ 1, "asc" ]],
97
            "bPaginate": false
98
        }));
99
        $(".itemstable").dataTable($.extend(true, {}, dataTablesDefaults, {
100
            "sDom": 't',
101
            "bPaginate": false
102
        }));
69
	});
103
	});
70
	//]]>
104
	//]]>
71
	</script>
105
	</script>
Lines 287-301 function placeHold () { Link Here
287
	    [% UNLESS ( print_basket ) %]<th>&nbsp;</th>[% END %]
321
	    [% UNLESS ( print_basket ) %]<th>&nbsp;</th>[% END %]
288
	    <th>Title</th>
322
	    <th>Title</th>
289
        <th>Item type</th>
323
        <th>Item type</th>
290
	    <th>Location</th>
324
        <th>Items</th>
291
        </tr></thead>
325
        </tr></thead>
292
326
293
        [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
327
        [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
294
            [% IF ( BIBLIO_RESULT.even ) %]
295
                <tr class="highlight">
296
            [% ELSE %]
297
                <tr>
328
                <tr>
298
            [% END %]
299
            [% UNLESS ( print_basket ) %]<td>
329
            [% UNLESS ( print_basket ) %]<td>
300
                        <input type="checkbox" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked);" />
330
                        <input type="checkbox" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked);" />
301
331
Lines 317-330 function placeHold () { Link Here
317
347
318
						</td>
348
						</td>
319
            <td>[% BIBLIO_RESULT.description %]</td>
349
            <td>[% BIBLIO_RESULT.description %]</td>
320
                <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
350
            <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
321
                    <p>
351
                <table class="itemstable">
322
                        [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %]
352
                <thead>
353
                    <th>Location</th>
354
                    <th>Call number</th>
355
                </thead>
356
                <tbody>
357
                    [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
358
                        <tr>
359
                            <td>[% ITEM_RESULT.branchname %] <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></td>
360
                            <td>
323
                        [% IF ( ITEM_RESULT.itemcallnumber ) %]
361
                        [% IF ( ITEM_RESULT.itemcallnumber ) %]
324
                            ([% ITEM_RESULT.itemcallnumber %])
362
                            ([% ITEM_RESULT.itemcallnumber %])
325
                        [% END %]
363
                        [% END %]
326
                    </p>
364
                            </td>
327
                    [% END %][% ELSE %]This record has no items.[% END %]</td>
365
                        </tr>
366
                    [% END %]
367
                </tbody>
368
                </table>
369
                [% ELSE %]This record has no items.[% END %]
370
            </td>
328
            </tr>
371
            </tr>
329
        [% END %]
372
        [% END %]
330
    </table></form>
373
    </table></form>
331
- 

Return to bug 9456