Lines 25-31
function fetch_availability( prod, $tr ) {
Link Here
|
25 |
$availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' ); |
25 |
$availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' ); |
26 |
} |
26 |
} |
27 |
|
27 |
|
28 |
$tr.find( '.info' ).append( '<span class="results_summary actions"><span class="label">' + _("Actions:") + ' </span><a href="http://' + prod.contentDetails[0].href + '" ' + ( data.copiesAvailable ? ( ' class="addtocart">' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '</a></span>' ); |
28 |
$tr.find( '.info' ).append( '<span class="results_summary actions"><span class="label">' + _("Actions:") + ' </span><a href="' + prod.contentDetails[0].href + '" ' + ( data.copiesAvailable ? ( ' class="addtocart">' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '</a></span>' ); |
29 |
} |
29 |
} |
30 |
); |
30 |
); |
31 |
} |
31 |
} |
Lines 54-60
function search( offset ) {
Link Here
|
54 |
|
54 |
|
55 |
results.push( '<tr>' ); |
55 |
results.push( '<tr>' ); |
56 |
|
56 |
|
57 |
results.push( '<td class="info"><a class="title" href="http://', prod.contentDetails[0].href, '">' ); |
57 |
results.push( '<td class="info"><a class="title" href="', prod.contentDetails[0].href, '">' ); |
58 |
results.push( prod.title ); |
58 |
results.push( prod.title ); |
59 |
if ( prod.subtitle ) results.push( ', ', prod.subtitle ); |
59 |
if ( prod.subtitle ) results.push( ', ', prod.subtitle ); |
60 |
results.push( '</a>' ); |
60 |
results.push( '</a>' ); |
Lines 71-77
function search( offset ) {
Link Here
|
71 |
|
71 |
|
72 |
results.push( '<td>' ); |
72 |
results.push( '<td>' ); |
73 |
if ( prod.images.thumbnail ) { |
73 |
if ( prod.images.thumbnail ) { |
74 |
results.push( '<a href="http://', prod.contentDetails[0].href, '">' ); |
74 |
results.push( '<a href="', prod.contentDetails[0].href, '">' ); |
75 |
results.push( '<img class="thumbnail" src="', prod.images.thumbnail.href, '" />' ); |
75 |
results.push( '<img class="thumbnail" src="', prod.images.thumbnail.href, '" />' ); |
76 |
results.push( '</a>' ); |
76 |
results.push( '</a>' ); |
77 |
} |
77 |
} |
78 |
- |
|
|