PINES Cust: Add shortname to alerts
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 27 Dec 2017 23:25:24 +0000 (18:25 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 19 Oct 2018 11:52:48 +0000 (07:52 -0400)
Add the short name of the library who created an alert to
the alert line in the patron summary bar.

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

index c89a007..3527de3 100644 (file)
@@ -18,6 +18,7 @@
         class="col-md-9 patron-summary-alert"
         title="{{penalty.standing_penalty().name()}}">
         {{penalty.note() || penalty.standing_penalty().label()}}
+        ({{penalty.org_unit().shortname()}})
       </div>
       <div class="col-md-3">
         {{penalty.set_date() | date:$root.egDateFormat}}