From 96d079d3e78385e4a7cc256256d6f1cd84635bf4 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Sat, 14 Jan 2012 11:42:55 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 6 +++++- 1 file changed, 5 insertions(+), 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 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 %] -- 2.11.0