Bugzilla – Attachment 126915 Details for
Bug 29323
OPAC overdrive checkout modal needs update for bootstrap v4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29323: Add modal dialog and content divs to overdrive checkout modal
Bug-29323-Add-modal-dialog-and-content-divs-to-ove.patch (text/plain), 3.05 KB, created by
Nick Clemens (kidclamp)
on 2021-10-26 13:54:46 UTC
(
hide
)
Description:
Bug 29323: Add modal dialog and content divs to overdrive checkout modal
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-10-26 13:54:46 UTC
Size:
3.05 KB
patch
obsolete
>From c1e66e263a6181f5973fabc568688cc08bd7271b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 26 Oct 2021 13:53:05 +0000 >Subject: [PATCH] Bug 29323: Add modal dialog and content divs to overdrive > checkout modal > >To test: >1 - Enable overdrive integration and circulation via Koha sysprefs >2 - Search the opac - view overdrive results - checkout an item >3 - You should now have a 'Download as' button >4 - Click it - it doesn't look right >5 - Apply patch >6 - Click the button >7 - Modal appears correctly >--- > .../en/includes/overdrive-checkout.inc | 36 ++++++++++--------- > 1 file changed, 20 insertions(+), 16 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-checkout.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-checkout.inc >index fc5766998c..bd0e0997b9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-checkout.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-checkout.inc >@@ -1,19 +1,23 @@ > <div id="overdrive-checkout" class="modal" tabindex="-1" role="dialog" aria-labelledby="overdrive-checkout-label" aria-hidden="true"> >- <div class="modal-header"> >- <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="overdrive-checkout-label">Checkout</h3> >- </div> >- <form action="#" method="post" id="overdrive-checkout-form"> >- <div class="modal-body"> >- <input type="hidden" name="id" value="" /> >- <fieldset class="brief"> >- <label for="format">Format:</label> >- <ul class="overdrive-format-list"> >- </fieldset> >- </div> >- <div class="modal-footer"> >- <input type="submit" class="btn btn-primary overdrive-checkout-submit" value="Checkout" /> >- <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a> >+ <div class="modal-dialog"> >+ <div class="modal-content"> >+ <div class="modal-header"> >+ <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >+ <h3 id="overdrive-checkout-label">Checkout</h3> >+ </div> >+ <form action="#" method="post" id="overdrive-checkout-form"> >+ <div class="modal-body"> >+ <input type="hidden" name="id" value="" /> >+ <fieldset class="brief"> >+ <label for="format">Format:</label> >+ <ul class="overdrive-format-list"> >+ </fieldset> >+ </div> >+ <div class="modal-footer"> >+ <input type="submit" class="btn btn-primary overdrive-checkout-submit" value="Checkout" /> >+ <a href="#" data-dismiss="modal" aria-hidden="true" class="cancel">Cancel</a> >+ </div> >+ </form> <!-- /#overdrive-checkout-form --> > </div> >- </form> <!-- /#overdrive-checkout-form --> >+ </div> > </div> <!-- /#overdrive-checkout --> >-- >2.20.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 29323
: 126915