PINES Cust: Add shortname to alerts rel_3_0_2_add_branch_info_to_alerts
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 27 Dec 2017 23:25:24 +0000 (18:25 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Wed, 27 Dec 2017 23:25:24 +0000 (18:25 -0500)
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 b6ce3d4..f306e61 100644 (file)
@@ -8,6 +8,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}}