Retrieve AC jackets by record ID collab/bshum/syndetics-by-id
authorJeff Godin <jgodin@tadl.org>
Wed, 25 Jul 2012 18:02:00 +0000 (14:02 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 12 Dec 2012 15:50:37 +0000 (10:50 -0500)
commit8868f5d23872f2fa7588c548ef5240f019c9d5e2
treec8d53af8f27102a274dbc0fd5428a3bacd7d02e6
parent08f89e2cb43e4b45a2f78d6e20f2e822b4c234e3
Retrieve AC jackets by record ID

Retrieve AC jackets by record ID. Breaks unless your server-side handler and AC
module have been taught how to use AC by record ID.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Add onerror handler to hide broken jacket images

Use an onerror handler to hide broken jacket images, for those cases
where we receive a 404 instead of a 1x1 placeholder.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Include jacket image even if we lack an ISBN/UPC

Conditional output of the jacket image <img> tag breaks local added
content overrides by record ID. Make the inclusion of the jacket
image unconditional.  We may next want to include onerror handlers
to hide the element if it 404s.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2