From 35d03d6cf630575b402fea2f6b18c5eb7aebae9c Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 10 Sep 2021 20:50:31 -1000 Subject: [PATCH] Bug 28959: (follow-up) Adjust more places in which 'category' was used MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some links still had category. I propose we use explicit public=1 and public=0 when links to public/private are side by side. Otherwise whe just use /cgi-bin/koha/opac-shelves.pl?op=list using default value 0. Signed-off-by: David Nind JK: Adjust commit title Signed-off-by: Joonas Kylmälä Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 8 ++++---- koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt | 4 ++-- .../opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt | 6 +++--- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index c7b678919b..86d72e4720 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -41,7 +41,7 @@ [% ELSIF op=='accept' %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index e1fb91bf20..936a178442 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -630,7 +630,7 @@ [% IF referer == 'view' %] Cancel [% ELSE %] - Cancel + Cancel [% END %] @@ -1047,7 +1047,7 @@ function AdjustRemark() { [% ELSE %] $("#anyone_remark").hide(); [% END %] - } else { // category==2 + } else { // public==1 $("#anyone_remark").hide(); } } -- 2.39.5