[open-ils-commits] [GIT] Evergreen ILS branch master updated. 7a4dd1113295f41feb59479a84fa7d2e898906dd

Evergreen Git git at git.evergreen-ils.org
Fri Oct 18 11:06:01 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  7a4dd1113295f41feb59479a84fa7d2e898906dd (commit)
       via  8195d831167ec3a9109af86b0ac3408379693610 (commit)
      from  cf4703e8f03d29eba2fef25b82f3624053e5588e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7a4dd1113295f41feb59479a84fa7d2e898906dd
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Fri Oct 18 11:05:47 2019 -0400

    LP#1555791: add release notes entry
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/docs/RELEASE_NOTES_NEXT/Circulation/hide-self-check-print-list-button.adoc b/docs/RELEASE_NOTES_NEXT/Circulation/hide-self-check-print-list-button.adoc
new file mode 100644
index 0000000000..df39fa741d
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/Circulation/hide-self-check-print-list-button.adoc
@@ -0,0 +1,9 @@
+Hide Print List Button On Self Check Home Page
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The _Print List_ button is no longer displayed on the main page
+of the self check interface. This addresses an issue where
+users were observed to either hit the _Print List_ button and
+walk away or hit it *and* the _Logout_ button, causing duplicate
+receipts to be printed.  The _Print List_ button continues to
+be displayed on the _Items Out_, _Holds_, and _Fines Details_ pages
+of the self check interface.

commit 8195d831167ec3a9109af86b0ac3408379693610
Author: Josh Stompro <stompro at stompro.org>
Date:   Fri Sep 13 15:02:36 2019 -0500

    LP#1555791 - Hide Print List from checkout screen
    
    Hide the print list button from the checkout screen so customers
    don't learn to use that instead of logout.
    
    Signed-off-by: Josh Stompro <stompro at stompro.org>
    Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/circ/selfcheck/main.tt2 b/Open-ILS/src/templates/circ/selfcheck/main.tt2
index 2fb44fdcb9..aa3c2eb88a 100644
--- a/Open-ILS/src/templates/circ/selfcheck/main.tt2
+++ b/Open-ILS/src/templates/circ/selfcheck/main.tt2
@@ -12,7 +12,7 @@
 <div id='oils-selfck-bottom-div' class="hidden">
     <div id='oils-selfck-content-div'>
         <div id='oils-selfck-content-header'>
-            <span><a id='oils-selfck-print-list-link' href='javascript:void(0);'><button type="button" class="self-button">[% l('Print List') %]</button></a></span>
+            <span><a id='oils-selfck-print-list-link' href='javascript:void(0);' class="hidden"><button type="button" class="self-button">[% l('Print List') %]</button></a></span>
         </div>
         <div id='oils-selfck-circ-page' class='hidden'>
             <!-- Checkout / renewal and items out interface -->
diff --git a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
index 9182e440e5..002dd346c2 100644
--- a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
+++ b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
@@ -562,6 +562,7 @@ SelfCheckManager.prototype.updateScanBox = function(args) {
  */
 SelfCheckManager.prototype.drawCircPage = function() {
 
+    openils.Util.hide('oils-selfck-print-list-link');
     openils.Util.show('oils-selfck-bottom-div');
     openils.Util.show('oils-selfck-circ-tbody', 'table-row-group');
     this.goToTab('checkout');
@@ -622,7 +623,7 @@ SelfCheckManager.prototype.updateFinesSummary = function() {
 
 SelfCheckManager.prototype.drawItemsOutPage = function() {
     openils.Util.hide('oils-selfck-circ-tbody');
-
+    openils.Util.show('oils-selfck-print-list-link');
     this.goToTab('items_out');
 
     while(this.itemsOutTbody.childNodes[0])
@@ -789,7 +790,7 @@ SelfCheckManager.prototype.drawHoldsPage = function() {
 
     // TODO add option to hid scanBox
     // this.updateScanBox(...)
-
+    openils.Util.show('oils-selfck-print-list-link');
     this.goToTab('holds');
 
     this.holdTbody = dojo.byId('oils-selfck-hold-tbody');
@@ -879,6 +880,7 @@ SelfCheckManager.prototype.drawFinesPage = function() {
 
     // TODO add option to hid scanBox
     // this.updateScanBox(...)
+    openils.Util.show('oils-selfck-print-list-link');
 
     this.goToTab('fines');
     progressDialog.show(true);

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/circ/selfcheck/main.tt2                   | 2 +-
 Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js           | 6 ++++--
 .../Circulation/hide-self-check-print-list-button.adoc           | 9 +++++++++
 3 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 docs/RELEASE_NOTES_NEXT/Circulation/hide-self-check-print-list-button.adoc


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list