From f3636c354181ef70343eb433c50b08ca4f8ba63e Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 13 Aug 2018 17:47:03 -0400 Subject: [PATCH] show only current basket when invoking the lists page from a 'create list from basket' action Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/myopac/lists.tt2 | 5 +++++ Open-ILS/src/templates/opac/parts/cart.tt2 | 2 +- Open-ILS/src/templates/opac/parts/topnav.tt2 | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index b34bba73eb..3f765172b8 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -89,6 +89,10 @@ + [% IF CGI.param('from_basket'); %] +

[% l("... from basket") %]

+ [% INCLUDE "opac/parts/anon_list.tt2" %] + [% ELSE %]

[% l("My Existing Basket and Lists") %]

[% INCLUDE "opac/parts/anon_list.tt2" %] [% IF ctx.bookbags.size %] @@ -485,5 +489,6 @@ [% END %] [% END %] + [% END %] [% END %] diff --git a/Open-ILS/src/templates/opac/parts/cart.tt2 b/Open-ILS/src/templates/opac/parts/cart.tt2 index f4e89bc729..ae587bcb80 100644 --- a/Open-ILS/src/templates/opac/parts/cart.tt2 +++ b/Open-ILS/src/templates/opac/parts/cart.tt2 @@ -7,7 +7,7 @@ [% IF !ctx.is_browser_staff %] - + [% END %] [% IF ctx.is_browser_staff %] diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2 index 68fd3bb238..e9b58ffb1d 100644 --- a/Open-ILS/src/templates/opac/parts/topnav.tt2 +++ b/Open-ILS/src/templates/opac/parts/topnav.tt2 @@ -36,7 +36,7 @@ [% l('My Account') %] - [% l('My Lists') %] [% l('Logout') %] -- 2.11.0