From: Christine Morgan Date: Tue, 7 Jan 2014 18:39:49 +0000 (-0500) Subject: Remove initials and datestamp from public copy note display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fkmlussier%2Fremove-public-note-initials;p=working%2FEvergreen.git Remove initials and datestamp from public copy note display The display of initials and datestamp in public copy notes is ugly. This code from Christine Morgan at NOBLE uses a regex to remove the initials and datesteamp from the display. Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index 9c8407ba88..398dda5b62 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -194,7 +194,7 @@ END; # FOREACH bib [% IF copy_info.notes; %] [% FOREACH note IN copy_info.notes; %] -  [% note.title | html %]: [% note.value | html %] +  [% note.title | html %]: [% note.value FILTER remove('\[.*\]') | html %] [% END %] [% END %]