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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt (-3 / +3 lines)
Lines 79-85 function fetch_availability( prod, $tr ) { Link Here
79
                $availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' );
79
                $availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' );
80
            }
80
            }
81
81
82
            $tr.find( '.info' ).append( '<div class="actions-menu"><span class="actions"><a href="http://' + prod.contentDetails[0].href + '" ' + ( data.copiesAvailable ? ( ' class="addtocart">' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '</a></span></div>' );
82
            $tr.find( '.info' ).append( '<div class="actions-menu"><span class="actions"><a href="' + prod.contentDetails[0].href + '" ' + ( data.copiesAvailable ? ( ' class="addtocart">' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '</a></span></div>' );
83
        }
83
        }
84
    );
84
    );
85
}
85
}
Lines 108-114 function search( offset ) { Link Here
108
108
109
            results.push( '<tr>' );
109
            results.push( '<tr>' );
110
110
111
            results.push( '<td class="info"><a class="title" href="http://', prod.contentDetails[0].href, '">' );
111
            results.push( '<td class="info"><a class="title" href="', prod.contentDetails[0].href, '">' );
112
            results.push( prod.title );
112
            results.push( prod.title );
113
            if ( prod.subtitle ) results.push( ', ', prod.subtitle );
113
            if ( prod.subtitle ) results.push( ', ', prod.subtitle );
114
            results.push( '</a>' );
114
            results.push( '</a>' );
Lines 127-133 function search( offset ) { Link Here
127
127
128
            results.push( '<td>' );
128
            results.push( '<td>' );
129
            if ( prod.images.thumbnail ) {
129
            if ( prod.images.thumbnail ) {
130
                results.push( '<a href="http://', prod.contentDetails[0].href, '">' );
130
                results.push( '<a href="', prod.contentDetails[0].href, '">' );
131
                results.push( '<img class="thumbnail" src="', prod.images.thumbnail.href, '" />' );
131
                results.push( '<img class="thumbnail" src="', prod.images.thumbnail.href, '" />' );
132
                results.push( '</a>' );
132
                results.push( '</a>' );
133
            }
133
            }
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt (-4 / +3 lines)
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
- 

Return to bug 11978