Bugzilla – Attachment 162789 Details for
Bug 36166
Disable select to add to list if opacuserlogin is disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36166: Disable select to add to list if opacuserlogin is disabled
Bug-36166-Disable-select-to-add-to-list-if-opacuse.patch (text/plain), 3.44 KB, created by
Matthias Le Gac
on 2024-03-05 20:56:08 UTC
(
hide
)
Description:
Bug 36166: Disable select to add to list if opacuserlogin is disabled
Filename:
MIME Type:
Creator:
Matthias Le Gac
Created:
2024-03-05 20:56:08 UTC
Size:
3.44 KB
patch
obsolete
>From 07b4df312481aae35f0518ee9f8d5fc9ead57581 Mon Sep 17 00:00:00 2001 >From: Matthias Le Gac <matthias.le-gac@inlibro.com> >Date: Tue, 5 Mar 2024 15:37:11 -0500 >Subject: [PATCH] Bug 36166: Disable select to add to list if opacuserlogin is > disabled > >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 043b1bbc69..b5eb47e353 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -220,17 +220,17 @@ > </div> > > <div class="links"> >- [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'virtualshelves' ) == 1 ) || loggedinusername ) %] >+ [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'opacuserlogin' ) == 1 && Koha.Preference('virtualshelves') ) || loggedinusername ) %] > <span class="selections">Select titles to:</span> > [% END %] >- [% IF Koha.Preference( 'opacbookbag' ) == 1 OR Koha.Preference('virtualshelves') %] >+ [% IF ( ( Koha.Preference( 'opacbookbag' ) == 1 ) || ( Koha.Preference( 'opacuserlogin' ) == 1 && Koha.Preference('virtualshelves') ) ) %] > <span class="addto"> > <select class="disabled form-control form-control-sm" name="addto" id="addto"> > <option>Add to...</option> > [% IF Koha.Preference( 'opacbookbag' ) == 1 %] > <option value="addtocart">Cart</option> > [% END %] >- [% IF Koha.Preference('virtualshelves') %] >+ [% IF Koha.Preference('virtualshelves') && Koha.Preference('opacuserlogin') == 1 %] > [% IF loggedinusername AND add_to_some_private_shelves.count %] > <optgroup label="Your lists:"> > [% SET number_of_private_shelves = 0 %] >@@ -259,7 +259,7 @@ > <option value="morelists">[ More lists ]</option> > [% END %] > <option value="newlist">[ New list ]</option> >- [% END # /IF virtualshelves %] >+ [% END # /IF virtualshelves and opacuserlogin %] > </select> > <input type="submit" class="btn btn-sm btn-primary" value="Save" /> > </span> >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36166
:
162789
|
162794
|
167395
|
168772