PINES Cust: Fix layout for Patron Edit Form
authorMcCanna <tmccanna@georgialibraries.org>
Mon, 5 Nov 2018 18:18:46 +0000 (13:18 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 19:52:45 +0000 (14:52 -0500)
Readjustments to previous customizations that no longer work
properly with 3.2. Also added links to relevant documentation.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2

index 6f4ef6e..c197a31 100644 (file)
       <a href 
         ng-class="{disabled : edit_passthru.vis_level == 0}"
         ng-click="edit_passthru.vis_level=0">[% l('All Fields') %]</a>
+    </span> | 
+       <span class="pad-all-min">
+      <a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:accounts:reg_field_desc" 
+        target="_blank"  style="font-weight:bold;color:#379676;">PINES Field Documentation</a>
     </span>
   </span>
 </div>
index 19ef7ef..2a14525 100644 (file)
@@ -398,7 +398,6 @@ within the "form" by name for validation.
 <div class="row reg-field-row" ng-show="show_field('au.juvenile')">
   [% draw_field_label('au', 'juvenile') %]
   <div class="col-md-3 reg-field-input">
-    <div class='checkbox' style="margin-left:20px;">
       <input 
         aria-labelledby="{{idl_fields.au.juvenile.name}}"
         ng-change="field_modified()" 
@@ -440,6 +439,8 @@ within the "form" by name for validation.
   [% draw_form_input('au', 'ident_value') %]
   <div class="col-md-6 patron-reg-example">
     [% draw_example_text('au', 'ident_value') %]
+    <span>Example: GA-123456789 <a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:accounts:reg_field_desc#idformats"
+           target="_blank">(see more examples)</a></span>
   </div>
 </div>
 
@@ -663,7 +664,6 @@ within the "form" by name for validation.
 <div class="row reg-field-row" ng-show="show_field('au.active')">
   [% draw_field_label('au', 'active') %]
   <div class="col-md-3 reg-field-input">
-    <div class='checkbox' style="margin-left:20px;">
       <input 
         aria-labelledby="{{idl_fields.au.active.name}}"
         ng-change="field_modified()" 
@@ -678,7 +678,6 @@ within the "form" by name for validation.
 <div class="row reg-field-row" ng-show="show_field('au.barred')">
   [% draw_field_label('au', 'barred') %]
   <div class="col-md-3 reg-field-input">
-    <div class='checkbox' style="margin-left:20px;">
       <input 
         aria-labelledby="{{idl_fields.au.barred.name}}"
         ng-change="field_modified()" 
@@ -693,7 +692,6 @@ within the "form" by name for validation.
 <div class="row reg-field-row" ng-show="show_field('au.master_account')">
   [% draw_field_label('au', 'master_account') %]
   <div class="col-md-3 reg-field-input">
-    <div class='checkbox' style="margin-left:20px;">
       <input 
         aria-labelledby="{{idl_fields.au.master_account.name}}"
         ng-change="field_modified()" 
@@ -1109,7 +1107,6 @@ within the "form" by name for validation.
   <div class="row reg-field-row" ng-show="show_field('aua.valid')">
     [% draw_field_label('aua', 'valid') %]
     <div class="col-md-3 reg-field-input">
-      <div class='checkbox' style="margin-left:20px;">
         <input 
           aria-labelledby="{{idl_fields.aua.valid.name}}"
           type='checkbox' 
@@ -1128,7 +1125,6 @@ within the "form" by name for validation.
   <div class="row reg-field-row" ng-show="show_field('aua.within_city_limits')">
     [% draw_field_label('aua', 'within_city_limits') %]
     <div class="col-md-3 reg-field-input">
-      <div class='checkbox' style="margin-left:20px;">
         <input 
           type='checkbox'
           aria-labelledby="{{idl_fields.aua.within_city_limits.name}}"