Lines 1-3
Link Here
|
|
|
1 |
[% USE String %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog › Your cart</title> |
3 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog › Your cart</title> |
3 |
[% IF ( print_basket ) %] |
4 |
[% IF ( print_basket ) %] |
Lines 88-99
function placeHold () {
Link Here
|
88 |
$(".holdsep").text("| "); |
89 |
$(".holdsep").text("| "); |
89 |
$(".hold").text(_("Place Hold")); |
90 |
$(".hold").text(_("Place Hold")); |
90 |
$("#downloadcartc").empty(); |
91 |
$("#downloadcartc").empty(); |
91 |
yuiToolbar(); |
|
|
92 |
|
92 |
|
93 |
/* Define two custom functions (asc and desc) for string sorting */ |
93 |
/* Define two custom functions (asc and desc) for string sorting */ |
94 |
jQuery.fn.dataTableExt.oSort['callnumbers-asc'] = function(x,y) { |
94 |
jQuery.fn.dataTableExt.oSort['callnumbers-asc'] = function(x,y) { |
95 |
var x_array = x.split("<span>"); |
95 |
var x_array = x.split("<div>"); |
96 |
var y_array = y.split("<span>"); |
96 |
var y_array = y.split("<div>"); |
97 |
|
97 |
|
98 |
/* Pop the first elements, they are empty strings */ |
98 |
/* Pop the first elements, they are empty strings */ |
99 |
x_array.shift(); |
99 |
x_array.shift(); |
Lines 109-116
function placeHold () {
Link Here
|
109 |
}; |
109 |
}; |
110 |
|
110 |
|
111 |
jQuery.fn.dataTableExt.oSort['callnumbers-desc'] = function(x,y) { |
111 |
jQuery.fn.dataTableExt.oSort['callnumbers-desc'] = function(x,y) { |
112 |
var x_array = x.split("<span>"); |
112 |
var x_array = x.split("<div>"); |
113 |
var y_array = y.split("<span>"); |
113 |
var y_array = y.split("<div>"); |
114 |
|
114 |
|
115 |
/* Pop the first elements, they are empty strings */ |
115 |
/* Pop the first elements, they are empty strings */ |
116 |
x_array.shift(); |
116 |
x_array.shift(); |
Lines 348-355
function placeHold () {
Link Here
|
348 |
| <a href="#" onclick="placeHold(); return false;">Place hold</a> |
348 |
| <a href="#" onclick="placeHold(); return false;">Place hold</a> |
349 |
[% END %] |
349 |
[% END %] |
350 |
|
350 |
|
351 |
|
|
|
352 |
[% END %] |
351 |
[% END %] |
|
|
352 |
|
353 |
</p> |
353 |
</p> |
354 |
<table id="itemst"> |
354 |
<table id="itemst"> |
355 |
<thead><tr> |
355 |
<thead><tr> |
Lines 385-391
function placeHold () {
Link Here
|
385 |
<td> |
385 |
<td> |
386 |
[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] |
386 |
[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] |
387 |
[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] |
387 |
[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] |
388 |
<span>[% ITEM_RESULT.itemcallnumber %] [% ITEM_RESULT.branchname %] <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></span> |
388 |
<div><span class="nowrap"><strong>[% ITEM_RESULT.itemcallnumber %]</strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div> |
389 |
[% END %] |
389 |
[% END %] |
390 |
[% ELSE %] |
390 |
[% ELSE %] |
391 |
This record has no items. |
391 |
This record has no items. |
392 |
- |
|
|