PINES Cust: Add shortname to alerts
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 27 Dec 2017 23:25:24 +0000 (18:25 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 4 Jun 2019 21:32:45 +0000 (17:32 -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 d5c18ea..2fd8237 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}}