PINES Customization: Patron Alerts Display rel_3_0_2_customize_alerts_display
authorMcCanna <tmccanna@georgialibraries.org>
Mon, 26 Mar 2018 16:54:34 +0000 (12:54 -0400)
committerMcCanna <tmccanna@georgialibraries.org>
Mon, 26 Mar 2018 16:54:34 +0000 (12:54 -0400)
Add label to all alerts instead of only showing label when note doesn't
exist.

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

index b6ce3d4..9f3b316 100644 (file)
@@ -4,10 +4,11 @@
     <div class="row" 
       ng-class="{'patron-summary-divider' : !$index}"
       ng-repeat="penalty in alert_penalties()">
+         <!-- PINES Customization: remove shortname and add label to system penalties -->
       <div 
         class="col-md-9 patron-summary-alert"
         title="{{penalty.standing_penalty().name()}}">
-        {{penalty.note() || penalty.standing_penalty().label()}}
+        {{penalty.standing_penalty().label()}} : {{penalty.note()}}
       </div>
       <div class="col-md-3">
         {{penalty.set_date() | date:$root.egDateFormat}}