@@ -, +, @@ detail page --- catalogue/detail.pl | 5 +++++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) --- a/catalogue/detail.pl +++ a/catalogue/detail.pl @@ -137,12 +137,17 @@ my $upc = GetNormalizedUPC($record,$marcflavour); my $ean = GetNormalizedEAN($record,$marcflavour); my $oclc = GetNormalizedOCLCNumber($record,$marcflavour); my $isbn = GetNormalizedISBN(undef,$record,$marcflavour); +my $content_identifier_exists; +if ( $isbn or $ean or $oclc or $upc ) { + $content_identifier_exists = 1; +} $template->param( normalized_upc => $upc, normalized_ean => $ean, normalized_oclc => $oclc, normalized_isbn => $isbn, + content_identifier_exists => $content_identifier_exists, ); my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search->unblessed } }; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -238,7 +238,7 @@ [% END %] [% IF ( SyndeticsCovers ) %] - [% IF ( nomarlized_isbn || normalized_upc || normalized_oclc ) %] + [% IF ( content_identifier_exists ) %]
--