From: Jeff Godin Date: Tue, 31 Jul 2012 19:30:07 +0000 (-0400) Subject: Include jacket image even if we lack an ISBN/UPC X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6807d13396dcf6411ee4c769a1238e091ddadb74;p=evergreen%2Ftadl.git Include jacket image even if we lack an ISBN/UPC Conditional output of the jacket image 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 --- diff --git a/templates_tadlskin/opac/parts/record/summary.tt2 b/templates_tadlskin/opac/parts/record/summary.tt2 index 52b840b1b8..5b92559f96 100644 --- a/templates_tadlskin/opac/parts/record/summary.tt2 +++ b/templates_tadlskin/opac/parts/record/summary.tt2 @@ -14,11 +14,9 @@ [%-# This holds the record summary information %]
- [% ident = attrs.isbn_clean || attrs.upc; IF ident; %] [% l('Image of item') %] - [% END %]
diff --git a/templates_tadlskin/opac/parts/result/table.tt2 b/templates_tadlskin/opac/parts/result/table.tt2 index b0111a2f16..6fc4dbaaa0 100644 --- a/templates_tadlskin/opac/parts/result/table.tt2 +++ b/templates_tadlskin/opac/parts/result/table.tt2 @@ -41,11 +41,10 @@ result_count; result_count = result_count + 1 %]. - [% ident = attrs.isbn_clean || attrs.upc; IF ident; %] + [% ident = attrs.isbn_clean || attrs.upc; %] [% l('Image of item') %]
- [% END %]