From 908ddf9e9684a6b3e4f07c5894bec808236509c8 Mon Sep 17 00:00:00 2001 From: Christine Morgan Date: Thu, 2 Mar 2017 16:16:26 -0500 Subject: [PATCH] lp1629016: Hide List Option In Staff Client This will hide the option to add to Lists when in the staff client. Includes the omitted parts/result/table.tt2 change. Signed-off-by: Christine Morgan --- Open-ILS/src/templates/opac/parts/result/table.tt2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index ddfeacbb41..989f7e001f 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -422,6 +422,7 @@ END; [%- END -%]
+ [% IF !ctx.is_staff %] [% IF ctx.user; INCLUDE "opac/parts/bookbag_actions.tt2"; %] @@ -440,6 +441,7 @@ END; [% label %] [% END %] + [% END %]
[% IF ENV.OILS_CONTENT_CAFE_USER %] [% ident = attrs.isbn_clean || attrs.upc %] -- 2.11.0