@@ -, +, @@ a modal window - Submit a string which will return search results. When the page reloads a modal should display showing a table of title search results. - Test the "Check out" button and confirm that the correct item is submitted. - Test closing the modal and re-displaying it using the new "Show matching titles" button. - Confirm that the "Add record using fast cataloging" button still works correctly. - Submit a string which will return no results. No modal window should display, and only the "Add record" button should appear. - Confirm that normal checkout works correctly. - Test with itemBarcodeFallbackSearch disabled, and with a user who lacks Fast Cataloging permission. --- koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 18 ++++- .../prog/en/modules/circ/circulation.tt | 89 +++++++++++++++------- .../intranet-tmpl/prog/js/pages/circulation.js | 4 + 3 files changed, 82 insertions(+), 29 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css +++ a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css @@ -1177,24 +1177,32 @@ div.alert strong { list-style-position:inside; } -.dialog button { +.dialog button, +.dialog a.approve { background: #fff none; border: 1px outset #999999; border-top-color: #666; border-left-color: #666; + color: #000; margin : .4em; padding : .4em; white-space: pre-line; } -.dialog button:hover { +.dialog button:hover, +.dialog a.approve:hover { background-color : #ffc; } -.dialog button:active { +.dialog button:active, +.dialog a.approve:active { border : 1px inset #999999; } +.dialog a.approve { + display: inline-block; +} + .approve i.fa, .success i.fa { color: green; @@ -2638,6 +2646,10 @@ button.closebtn{padding:0;cursor:pointer;background:transparent;border:0;-webkit overflow-y: auto; } +.modal-dialog.modal-wide { + width: 80%; +} + .btn-group label, .btn-group select { font-size: 13px; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -438,34 +438,24 @@ $(document).ready(function() { [% IF ( UNKNOWN_BARCODE ) %]