lp1629016: Hide List Option In Staff Client user/cmorgan/lp1629016_hide_lists_staffclient
authorChristine Morgan <cmorgan@noblenet.org>
Thu, 2 Mar 2017 21:16:26 +0000 (16:16 -0500)
committerChristine Morgan <cmorgan@noblenet.org>
Thu, 2 Mar 2017 21:16:26 +0000 (16:16 -0500)
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 <cmorgan@noblenet.org>
Open-ILS/src/templates/opac/parts/result/table.tt2

index ddfeacb..989f7e0 100644 (file)
@@ -422,6 +422,7 @@ END;
                                                         </div>
 [%- END -%]
                                                         <div class="results_aux_utils result_util">
+                                                        [% IF !ctx.is_staff %]
                                                             [%  IF ctx.user;
                                                                 INCLUDE "opac/parts/bookbag_actions.tt2";
                                                             %]
@@ -440,6 +441,7 @@ END;
                                                                 [% label %]
                                                             </a>
                                                             [% END %]
+                                                        [% END %]
                                                         </div>
                                                         [% IF ENV.OILS_CONTENT_CAFE_USER %]
                                                         [% ident = attrs.isbn_clean || attrs.upc %]