[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4a093300bcb93a0953a2cea5000107682ef09c74

Evergreen Git git at git.evergreen-ils.org
Fri May 25 14:41:34 EDT 2018


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  4a093300bcb93a0953a2cea5000107682ef09c74 (commit)
      from  a52c5ac66e8c7a7a8a6a2b64385dc977855e141d (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 4a093300bcb93a0953a2cea5000107682ef09c74
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Fri Mar 30 11:32:45 2018 -0400

    LP#1759352: improve webstaff fix checkout specific due date UX
    
    The Date Options dropdown UI added as a result of bug 1717025
    hides the state of the "checkboxes" for custom due date and
    the datepicker wasn't disabled when custom due date was disabled.
    This addresses these UX issues, to that the user has visual feedback
    as to the state of that option.
    
    Signed-off-by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    Signed-off-by: Rogan Hamby <rogan.hamby at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
index f52451d..85df24c 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
@@ -41,7 +41,7 @@
 
 <div class="input-group">
 <div class="input-group-btn" uib-dropdown>
-      <button type="button" class="btn btn-default" uib-dropdown-toggle>
+      <button type="button" ng-class="{'btn-success' : date_options.has_sticky_date}" class="btn btn-default" uib-dropdown-toggle>
         [% l('Date Options') %]
         <span class="caret"></span>
       </button>
@@ -77,7 +77,8 @@
       </div> -->
       <!-- FIXME: This needs a time component as well, but type="datetime" 
             is not yet supported by any browsers -->
-      <div><eg-date-input ng-model="checkoutArgs.due_date"></eg-date-input>
+      <div>
+        <eg-date-input ng-model="checkoutArgs.due_date" ng-disabled="!date_options.has_sticky_date"></eg-date-input>
       </div>
 </div>
     </div>

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

Summary of changes:
 .../src/templates/staff/circ/patron/t_checkout.tt2 |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list