Temp Fix for Patron Account Expiring Soon Message
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 27 Dec 2017 23:23:31 +0000 (18:23 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 19:52:45 +0000 (14:52 -0500)
Marked as temp fix for testing before packaging for submission
to launchpad bug 1726918.

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

index af63520..f8d2b65 100644 (file)
         {{penalty.set_date() | date:$root.egDateFormat}}
       </div>
     </div>
-    <div class="row" ng-class="{'patron-summary-alert' : doesPatronExpireSoon()}">
+    <div class="row patron-summary-divider">
+      <div
+        class="col-md-9 patron-summary-alert"
+        title="[% l('Patron Alert Message') %]"
+        ng-if="patron().alert_message()">
+        {{patron().alert_message()}}
+      </div>
+    </div>
+
+    <!-- PINES Temp fix for patron expires soon alert -->
+    <div class="row"
+      ng-class="{'patron-summary-alert' : doesPatronExpireSoon()}">
       <div ng-if="doesPatronExpireSoon()" class="col-md-12">[% l('Patron account will expire soon.  Please renew.') %]</div>
     </div>
+   
     <div ng-if="patron().photo_url()" class="row">
          <div class="col-md-8 patron_photo_wrap"><img class="img-responsive img-rounded" src="{{patron().photo_url()}}" alt=""></div>
     </div>