From: Thomas Berezansky Date: Sat, 14 Jan 2012 16:42:55 +0000 (-0500) Subject: TPac: Easy access to item status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=96d079d3e78385e4a7cc256256d6f1cd84635bf4;p=evergreen%2Fmasslnc.git TPac: Easy access to item status Change item barcodes into item status links in TPac listings. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson --- 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 c06c694eb9..03d5f16777 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -52,7 +52,11 @@ END; [%- IF has_parts == 'true' %] [% copy_info.part_label | html %] [%- END %] - [% copy_info.barcode | html %] + + [%- IF ctx.is_staff -%] + [% copy_info.barcode | html %] + [%- ELSE -%][% copy_info.barcode | html %] + [%- END -%] [% copy_info.copy_location | html %] [%- IF ctx.is_staff %]