From: Mike Rylander Date: Mon, 19 Feb 2018 21:46:59 +0000 (-0500) Subject: LP#1744385: Add highlighting for ISBN and ISSN X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=194cc82b3192c5af15ec2dd51db9ae7e9560382e;p=evergreen%2Fmasslnc.git LP#1744385: Add highlighting for ISBN and ISSN Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index 374182fa87..84b4b740d7 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -312,7 +312,11 @@ END;

[% l("Record details") %]

    - [%- IF attrs.isbns.0; + [%- IF attrs.hl.isbn.size; FOR isbn IN attrs.hl.isbn %] +
  • + [% l('ISBN:'); %] [% isbn %] +
  • + [%- END; ELSIF attrs.isbns.0; FOR isbn IN attrs.isbns; isbn_extra = ''; IF (matches = isbn.match('^(.+?)(\s.+)$')); @@ -326,7 +330,11 @@ END; [%- END %] [%- END %] - [%- IF attrs.issns.0; FOR issn IN attrs.issns %] + [%- IF attrs.hl.issn.size; FOR issn IN attrs.hl.issn %] +
  • + [% l('ISSN:'); %] [% issn %] +
  • + [%- END; ELSIF attrs.issns.0; FOR issn IN attrs.issns %]
  • [% l('ISSN:'); %] [% issn | html %]