webstaff: serials - sprinkle in some help
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 20 Jun 2017 22:12:32 +0000 (18:12 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 20 Jun 2017 22:12:32 +0000 (18:12 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/serials/t_prediction_wizard.tt2
Open-ILS/src/templates/staff/serials/t_subscription_manager.tt2

index 8dd4bdd..64405c8 100644 (file)
              <input type="radio" ng-model="pattern.use_enum" ng-value="True">
              [% l('Use Enumeration (e.g., v.1, no. 1)') %]
            </label>
+           <eg-help-popover help-text="[% l('Use this if the serial includes volume or some other form of numbering.') %]">
          </div>
          <div class="radio">
            <label>
               <input type="radio" ng-model="pattern.use_enum" ng-value="False">
               [% l('Use Calendar Dates Only (e.g., April 10)') %]
             </label>
+            <eg-help-popover help-text="[% l('Use this if serial issues are referred to only by publication dates (or months or seasons).') %]">
          </div>
          <div class="row" ng-if="pattern.use_enum">
             <div class="row" ng-repeat="enum_level in pattern.enum_levels">
@@ -83,6 +85,7 @@
             <input type="checkbox" ng-model="pattern.use_alt_enum">
             [% l('Add alternative enumeration') %]
           </label>
+          <eg-help-popover help-text="[% l('If a serials is labeled in two different ways, use this to specify the second set of enumeration labels') %]">
          </div>
          <div class="row" ng-if="pattern.use_alt_enum">
             <div class="row" ng-repeat="alt_enum_level in pattern.alt_enum_levels">
             <input type="checkbox" ng-model="pattern.use_calendar_change">
             [% l('First level enumeration changes during subscription year') %]
           </label>
+          <eg-help-popover help-text="[% l('For example, if the title has two volumes a year, use this to specify the month that the next volume starts.') %]">
          </div>
          <div ng-if="pattern.use_calendar_change">
          <div class="row" ng-repeat="chg in pattern.calendar_change">
     <uib-tab index="2" disable="tab.active != 2" heading="[% l('MFHD Indicators') %]">
       <div class="row">
         <div class="col-md-6">
-          <label for="selectCompressExpand">[% l('Compression Display Options') %]</label>
+          <label for="selectCompressExpand">[% l('Compression Display Options') %]
+            <eg-help-popover help-link="https://www.loc.gov/marc/holdings/hd853855.html"
+               help-text="[% l('Whether the pattern can be used to compress and expand detailed holdings statements.') %]">
+          </label>
           <select ng-model="pattern.compress_expand">
             <option value="0">[% l('Cannot compress or expand') %]</option>
             <option value="1">[% l('Can compress but not expand') %]</option>
           </select>
         </div>
         <div class="col-md-6">
-          <label for="selectCompressExpand">[% l('Caption Evaluation') %]</label>
+          <label for="selectCompressExpand">[% l('Caption Evaluation') %]
+            <eg-help-popover help-link="https://www.loc.gov/marc/holdings/hd853855.html"
+               help-text="[% l('Completeness of the caption levels and whether the captions used actually appear on the bibliographic item.') %]">
+          </label>
           <select ng-model="pattern.caption_evaluation">
             <option value="0">[% l('Captions verified; all levels present') %]</option>
             <option value="1">[% l('Captions verified; all levels may not be present') %]</option>
index afba744..5368c81 100644 (file)
@@ -18,7 +18,9 @@
         <eg-date-input ng-model="ssub.end_date"></eg-date-input>
       </div>
       <div class="form-group">
-        <label>[% l('Expected Offset') %]</label>
+        <label>[% l('Expected Offset') %]
+          <eg-help-popover help-text="[% l('The difference between the nominal publishing date of an issue and the date that you expect to receive your copy.') %]">
+        </label>
         <input type="text" ng-model="ssub.expected_date_offset"></input>
       </div>
       <button class="btn btn-sm btn-warning" ng-click="add_distribution(ssub)">[% l('Add distribution') %]</button>
@@ -30,7 +32,9 @@
         <eg-org-selector selected="sdist.holding_lib"></eg-org-selector>
         <label>[% l('Label') %]</label>
         <input type="text" required ng-model="sdist.label"></input>
-        <label>[% l('OPAC Display') %]</label>
+        <label>[% l('OPAC Display') %]
+          <eg-help-popover help-text="[% l('Whether the public catalog display of issues should be grouped by chronology (e.g., years) or enumeration (e.g., volume and number).') %]">
+        </label>
         <select required ng-model="sdist.display_grouping">
           <option value="chron">[% l('Chronological') %]</option>
           <option value="enum" >[% l('Enumeration') %]</option>