Bugzilla – Attachment 108526 Details for
Bug 26184
Wrap 'items available for pick-up' note when placing a hold in the OPAC in a div element
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug : 26184 - element missing a proper HTML element
Bug--26184---element-missing-a-proper-HTML-element.patch (text/plain), 2.62 KB, created by
Brandon J
on 2020-08-18 15:44:11 UTC
(
hide
)
Description:
Bug : 26184 - element missing a proper HTML element
Filename:
MIME Type:
Creator:
Brandon J
Created:
2020-08-18 15:44:11 UTC
Size:
2.62 KB
patch
obsolete
>From d9e2d62b398baa7ea902c1116497a9ae8c969f5e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 13 Aug 2020 10:28:24 +0200 >Subject: [PATCH] Bug : 26184 - element missing a proper HTML element > >Signed-off-by: Brandon J <brandon.jimenez@inLibro.com> >--- > installer/data/mysql/updatedatabase.pl | 6 ++++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index d2bd7cb93f..6c335c29b8 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -22576,15 +22576,17 @@ if( CheckVersion( $DBversion ) ) { > $DBversion = '20.06.00.023'; > if( CheckVersion( $DBversion ) ) { > >+ my $QuoteOfTheDay = C4::Context->preference('QuoteOfTheDay'); > $dbh->do( q| > UPDATE systempreferences >- SET value = '', >- options = 'intranet,opac', >+ SET options = 'intranet,opac', > explanation = 'Enable or disable display of Quote of the Day on the OPAC and staff interface home page', > type = 'multiple' > WHERE variable = 'QuoteOfTheDay' > | ); > >+ C4::Context->set_preference('QuoteOfTheDay', $QuoteOfTheDay ? 'opac' : ''); >+ > NewVersion( $DBversion, 16371, "Quote of the Day (QOTD) for the staff interface " ); > } > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 8a05f6c454..8d55e2ab3e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -257,7 +257,7 @@ > [% END %] > </select> > [% IF at_least_one_library_not_available_for_pickup %] >- <br>Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items >+ <br><span id="not_available">Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items</span> > [% END %] > [% END # / UNLESS bibitemloo.holdable %] > </li> >-- >2.17.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 26184
:
107972
|
108526
|
110401
|
110427