From 32b9b2145a2ea0ef58a7df3b5a3fd89fc4cd164e Mon Sep 17 00:00:00 2001 From: Christine Morgan Date: Tue, 7 Jan 2014 13:39:49 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %] -- 2.11.0