LP1867524: Add a help popover to the End field in the Closed Dates Editor
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 15 Mar 2020 15:49:48 +0000 (08:49 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 24 Jul 2020 20:14:42 +0000 (16:14 -0400)
To test:
1) Go to Administration > Local Administration > Closed Dates Editor.
2) Click Add Closing.
3) Under closing type, choose Multiple Day.
4) Note that the End field has no guidance for the user.
5) Apply this commit.
6) Repeat steps 1-3.
7) Notice that the End field has some clarifying guidance for the user.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/admin/local/actor/edit_closed_dates.tt2

index e2579d2..8f91476 100644 (file)
@@ -58,6 +58,7 @@
       <div class="form-group row" ng-show="args.type != 'full'">
         <div class="col-md-3">
           <label for="end">[% l('End') %]</label>
+          <eg-help-popover help-text="[%l('Keep the library closed until 11:59pm on this day')%]" ng-if="args.is_not_detailed">
         </div>
         <div class="col-md-9">
           <eg-date-input id="end" show-time-picker hide-time-picker="args.is_not_detailed" ng-model="args.end"></eg-date-input>