Bugzilla – Attachment 167395 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.56 KB, created by
Martin Renvoize (ashimema)
on 2024-06-04 12:21:39 UTC
(
hide
)
Description:
Bug 36166: Disable select to add to list if opacuserlogin is disabled
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-06-04 12:21:39 UTC
Size:
3.56 KB
patch
obsolete
>From 624773c05389530cf280b04face4187ca37eb017 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 > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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 0df04992ee8..9d9a7bacee7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -211,17 +211,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 %] >@@ -250,7 +250,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.45.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